From 2938f053edb4b7b612117078259ef366841432aa Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Wed, 13 May 2020 21:31:31 +0200 Subject: [PATCH] Working on travis file --- .travis.yml | 93 +++++++++++++++++++++++++++-------------------------- 1 file changed, 47 insertions(+), 46 deletions(-) diff --git a/.travis.yml b/.travis.yml index 77aa803a..c911e9bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,9 +14,9 @@ matrix: sources: - ubuntu-toolchain-r-test packages: - - g++-8 + - g++-7 env: - - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" - os: linux addons: @@ -24,9 +24,9 @@ matrix: sources: - ubuntu-toolchain-r-test packages: - - g++-8 + - g++-7 env: - - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Release" DOUBLE_PRECISION="False" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="False" - os: linux addons: @@ -34,9 +34,9 @@ matrix: sources: - ubuntu-toolchain-r-test packages: - - g++-8 + - g++-7 env: - - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" - os: linux addons: @@ -44,74 +44,75 @@ matrix: sources: - ubuntu-toolchain-r-test packages: - - g++-8 + - g++-7 env: - - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Release" DOUBLE_PRECISION="True" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True" - os: linux addons: apt: sources: - ubuntu-toolchain-r-test packages: - - g++-8 + - g++-7 env: - - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" Profiler="True" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" Profiler="True" - os: linux addons: apt: sources: - ubuntu-toolchain-r-test packages: - - g++-8 + - g++-7 env: - - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Release" DOUBLE_PRECISION="False" Profiler="True" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="False" Profiler="True" - os: linux addons: apt: sources: - ubuntu-toolchain-r-test packages: - - g++-8 + - g++-7 - lcov env: - - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Release" DOUBLE_PRECISION="False" CODE_COVERAGE="True" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="False" CODE_COVERAGE="True" - os: linux addons: apt: sources: - ubuntu-toolchain-r-test packages: - - g++-8 + - g++-7 - valgrind env: - - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" VALGRIND="True" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" VALGRIND="True" + # This is commented until Travis fixes this issue with GCC install in OSX: https://github.com/travis-ci/travis-ci/issues/8826 # ----- OS X / GCC ----- - - os: osx - - osx_image: xcode11 - - env: - - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" - - os: osx - osx_image: xcode11 - env: - - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="False" - - os: osx - osx_image: xcode11 - env: - - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" - - os: osx - osx_image: xcode11 - env: - - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True" - - os: osx - osx_image: xcode11 - env: - - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" PROFILER="True" - - os: osx - osx_image: xcode11 - env: - - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True" PROFILER="True" + #- os: osx + #- osx_image: xcode9.3 + #- env: + # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" + #- os: osx + # osx_image: xcode9.3 + # env: + # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="False" + #- os: osx + # osx_image: xcode9.3 + # env: + # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" + #- os: osx + # osx_image: xcode9.3 + # env: + # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True" + #- os: osx + # osx_image: xcode9.3 + # env: + # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" PROFILER="True" + #- os: osx + # osx_image: xcode9.3 + # env: + # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True" PROFILER="True" # ----- Linux / Clang ----- - os: linux @@ -186,32 +187,32 @@ matrix: # ----- OS X / Clang ----- - os: osx - osx_image: xcode11 + osx_image: xcode8 env: - BUILD_TYPE="Debug" DOUBLE_PRECISION="False" - os: osx - osx_image: xcode11 + osx_image: xcode8 env: - BUILD_TYPE="Release" DOUBLE_PRECISION="False" - os: osx - osx_image: xcode11 + osx_image: xcode8 env: - BUILD_TYPE="Debug" DOUBLE_PRECISION="True" - os: osx - osx_image: xcode11 + osx_image: xcode8 env: - BUILD_TYPE="Release" DOUBLE_PRECISION="True" - os: osx - osx_image: xcode11 + osx_image: xcode8 env: - BUILD_TYPE="Debug" DOUBLE_PRECISION="True" PROFILER="True" - os: osx - osx_image: xcode11 + osx_image: xcode8 env: - BUILD_TYPE="Release" DOUBLE_PRECISION="True" PROFILER="True"