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: include:
- os: linux - os: linux
dist: trusty 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: script:
- cd build - cd build
- cmake -DCMAKE_BUILD_TYPE=Debug .. - cmake -DCMAKE_BUILD_TYPE=Debug ..
@ -15,15 +24,22 @@ matrix:
compiler: clang compiler: clang
script: script:
- cd build - cd build
- cmake --version
- cmake -DCMAKE_BUILD_TYPE=Debug .. - cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j - make -j
- os: linux - os: linux
dist: trusty 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: script:
- cd build - cd build
- cmake --version
- cmake -DCMAKE_BUILD_TYPE=Release .. - cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j - make -j
- os: linux - os: linux
@ -31,17 +47,11 @@ matrix:
compiler: clang compiler: clang
script: script:
- cd build - cd build
- cmake --version
- cmake -DCMAKE_BUILD_TYPE=Release .. - cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j - make -j
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
notifications: notifications:
email: email:
- phundrak@phundrak.fr - phundrak@phundrak.fr