Commit ede871c014d1b55fa49230b0a464f1c649fd1763
Committed by
Henry Schreiner
1 parent
368f2cd9
Adding tests for C++17 (probably c++1z), gcc 7
Showing
1 changed file
with
11 additions
and
3 deletions
.travis.yml
| @@ -18,6 +18,10 @@ matrix: | @@ -18,6 +18,10 @@ matrix: | ||
| 18 | include: | 18 | include: |
| 19 | # Default clang | 19 | # Default clang |
| 20 | - compiler: clang | 20 | - compiler: clang |
| 21 | + script: | ||
| 22 | + - .ci/make_and_test.sh 11 | ||
| 23 | + - .ci/make_and_test.sh 14 | ||
| 24 | + - .ci/make_and_test.sh 17 | ||
| 21 | 25 | ||
| 22 | # Check style/tidy | 26 | # Check style/tidy |
| 23 | - compiler: clang | 27 | - compiler: clang |
| @@ -55,16 +59,20 @@ matrix: | @@ -55,16 +59,20 @@ matrix: | ||
| 55 | sources: | 59 | sources: |
| 56 | - ubuntu-toolchain-r-test | 60 | - ubuntu-toolchain-r-test |
| 57 | packages: | 61 | packages: |
| 58 | - - g++-6 | 62 | + - g++-7 |
| 59 | - curl | 63 | - curl |
| 60 | - lcov | 64 | - lcov |
| 61 | install: | 65 | install: |
| 62 | - - export CC=gcc-6 | ||
| 63 | - - export CXX=g++-6 | 66 | + - export CC=gcc-7 |
| 67 | + - export CXX=g++-7 | ||
| 64 | - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" | 68 | - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" |
| 65 | - cd $TRAVIS_BUILD_DIR | 69 | - cd $TRAVIS_BUILD_DIR |
| 66 | - ". .ci/build_lcov.sh" | 70 | - ". .ci/build_lcov.sh" |
| 67 | - ".ci/run_codecov.sh" | 71 | - ".ci/run_codecov.sh" |
| 72 | + script: | ||
| 73 | + - .ci/make_and_test.sh 11 | ||
| 74 | + - .ci/make_and_test.sh 14 | ||
| 75 | + - .ci/make_and_test.sh 17 | ||
| 68 | 76 | ||
| 69 | # GCC 4.7 and Conan | 77 | # GCC 4.7 and Conan |
| 70 | - compiler: gcc | 78 | - compiler: gcc |