This commit is contained in:
Phuntsok Drak-pa 2018-04-08 16:01:20 +02:00
parent d34d7098e9
commit 17f5ea886f
1 changed files with 5 additions and 40 deletions

View File

@ -1,51 +1,16 @@
sudo: false
language: cpp
compiler: clang
os: linux
dist: trusty
matrix:
include:
- os: linux
dist: trusty
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
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j
- os: linux
dist: trusty
compiler: clang
script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j
- os: linux
dist: trusty
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=Release ..
- make -j
- os: linux
dist: trusty
compiler: clang
script:
- script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j