Skip to content

Commit

Permalink
Trying to run C++17 on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorolev committed Mar 8, 2019
1 parent 81aa86a commit 8e03514
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .travis.yml
Expand Up @@ -31,17 +31,18 @@ matrix:
- script: make individual_tests
env:
- NDEBUG=0
- CPLUSPLUS=clang++-3.8
compiler: "clang++-3.8, Job: make individual_tests"
- CPLUSPLUS=clang++-6.0
compiler: "clang++-6.0, Job: make individual_tests"
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test # `apt-get` on Travis fails to install `clang-3.6 gnuplot` w/o this.
- llvm-toolchain-precise-3.8
- llvm-toolchain-trusty-6.0
packages:
- g++-5 # To install the dreaded `#include <codecvt>`.
- clang-3.8
- clang-6.0
- libstdc++-7-dev
- nasm
- gnuplot

Expand All @@ -63,17 +64,18 @@ matrix:
- script: make individual_tests
env:
- NDEBUG=1
- CPLUSPLUS=clang++-3.8
compiler: "clang++-3.8, Job: make individual_tests"
- CPLUSPLUS=clang++-6.0
compiler: "clang++-6.0, Job: make individual_tests"
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test # `apt-get` on Travis fails to install `clang-3.6 gnuplot` w/o this.
- llvm-toolchain-precise-3.8
- llvm-toolchain-trusty-6.0
packages:
- g++-5 # To install the dreaded `#include <codecvt>`.
- clang-3.8
- clang-6.0
- libstdc++-7-dev
- nasm
- gnuplot

Expand Down Expand Up @@ -104,21 +106,22 @@ matrix:
- script:
- mkdir local_bin
- ln -sf $(which g++-5) local_bin/g++
- ln -sf $(which clang++-3.8) local_bin/clang++
- ln -sf $(which clang++-6.0) local_bin/clang++
- export PATH=$PWD/local_bin:$PATH
- make check
env:
- MAKE_CHECK=1
compiler: "g++-5 && clang++-3.8, Job: make check"
compiler: "g++-5 && clang++-6.0, Job: make check"
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
- llvm-toolchain-trusty-6.0
packages:
- g++-5
- clang-3.8
- clang-6.0
- libstdc++-7-dev
- nasm

- script:
Expand Down

0 comments on commit 8e03514

Please sign in to comment.