diff --git a/.travis.yml b/.travis.yml index 49269602e..0d1a95653 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,13 @@ matrix: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-6'] env: COMPILER=g++-6 + - os: linux + compiler: gcc + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-7'] + env: COMPILER=g++-7 - os: linux compiler: clang addons: @@ -18,23 +25,34 @@ matrix: sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0'] packages: ['clang-4.0', 'libstdc++-4.9-dev'] env: COMPILER=clang++-4.0 + - os: linux + compiler: clang + addons: + apt: + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-5.0'] + packages: ['clang-5.0', 'libstdc++-4.9-dev'] + env: COMPILER=clang++-5.0 - os: osx osx_image: xcode8.3 compiler: clang env: COMPILER=clang++ + - os: osx + osx_image: xcode9.1 + compiler: clang + env: COMPILER=clang++ - os: linux compiler: gcc addons: apt: sources: ['ubuntu-toolchain-r-test'] - packages: ['g++-6'] + packages: ['g++-7'] env: - - COMPILER=g++-6 + - COMPILER=g++-7 - CXXFLAGS="-O0 --coverage -fno-inline -fno-inline-small-functions -fno-default-inline" before_script: - pip install --user cpp-coveralls after_success: - - coveralls --gcov gcov-6 --gcov-options '\-lp' --root ${TRAVIS_BUILD_DIR} --build-root ${TRAVIS_BUILD_DIR}/build --extension cpp --extension hpp --exclude deps --include src + - coveralls --gcov gcov-7 --gcov-options '\-lp' --root ${TRAVIS_BUILD_DIR} --build-root ${TRAVIS_BUILD_DIR}/build --extension cpp --extension hpp --exclude deps --include src notifications: email: @@ -51,5 +69,5 @@ install: script: - mkdir -p build && cd build -- cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4 +- cmake .. && make -j4 - CTEST_OUTPUT_ON_FAILURE=1 make test