testing travis-ci #9

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 12:29:37 +02:00
parent 8bb992acc1
commit 589e1961d8

View File

@ -9,7 +9,7 @@ addons:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0 - llvm-toolchain-trusty-5.0
packages: packages:
- g++-6 - g++-7
- clang-5.0 - clang-5.0
matrix: matrix:
@ -30,23 +30,15 @@ matrix:
- env: - env:
BUILD_TYPE=Debug BUILD_TYPE=Debug
BIN_DIR=debug BIN_DIR=debug
CC=gcc-7
CXX=g++-7
compiler: gcc compiler: gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
- env: - env:
BUILD_TYPE=Release BUILD_TYPE=Release
BIN_DIR=bin BIN_DIR=bin
CC=gcc-7
CXX=g++-7
compiler: gcc compiler: gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
script: script:
- cd build - cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..