This commit is contained in:
Phuntsok Drak-pa 2018-04-08 16:01:20 +02:00
parent d34d7098e9
commit 17f5ea886f

View File

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