This commit is contained in:
Phuntsok Drak-pa 2018-04-08 15:57:12 +02:00
parent 5611379e71
commit d34d7098e9

View File

@ -5,7 +5,16 @@ matrix:
include:
- os: linux
dist: trusty
compiler: g++-6
sudo: true
compiler: g++
before_install:
# C++17
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# C++17
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ..
@ -15,15 +24,22 @@ matrix:
compiler: clang
script:
- cd build
- cmake --version
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j
- os: linux
dist: trusty
compiler: g++-6
sudo: true
compiler: g++
before_install:
# C++17
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# C++17
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
script:
- cd build
- cmake --version
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j
- os: linux
@ -31,16 +47,10 @@ matrix:
compiler: clang
script:
- cd build
- cmake --version
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
notifications:
email: