Working on travis file

This commit is contained in:
Daniel Chappuis 2020-05-13 21:31:31 +02:00
parent 1b8d9d8e5e
commit 2938f053ed

View File

@ -14,9 +14,9 @@ matrix:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-8 - g++-7
env: 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 - os: linux
addons: addons:
@ -24,9 +24,9 @@ matrix:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-8 - g++-7
env: 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 - os: linux
addons: addons:
@ -34,9 +34,9 @@ matrix:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-8 - g++-7
env: 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 - os: linux
addons: addons:
@ -44,74 +44,75 @@ matrix:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-8 - g++-7
env: 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 - os: linux
addons: addons:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-8 - g++-7
env: 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 - os: linux
addons: addons:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-8 - g++-7
env: 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 - os: linux
addons: addons:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-8 - g++-7
- lcov - lcov
env: 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 - os: linux
addons: addons:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-8 - g++-7
- valgrind - valgrind
env: 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 X / GCC -----
- os: osx #- os: osx
- osx_image: xcode11 #- osx_image: xcode9.3
- env: #- env:
- MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="False" # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="False"
- os: osx #- os: osx
osx_image: xcode11 # osx_image: xcode9.3
env: # env:
- MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="False" # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="False"
- os: osx #- os: osx
osx_image: xcode11 # osx_image: xcode9.3
env: # env:
- MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True"
- os: osx #- os: osx
osx_image: xcode11 # osx_image: xcode9.3
env: # env:
- MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True" # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True"
- os: osx #- os: osx
osx_image: xcode11 # osx_image: xcode9.3
env: # env:
- MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" PROFILER="True" # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Debug" DOUBLE_PRECISION="True" PROFILER="True"
- os: osx #- os: osx
osx_image: xcode11 # osx_image: xcode9.3
env: # env:
- MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True" PROFILER="True" # - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7" BUILD_TYPE="Release" DOUBLE_PRECISION="True" PROFILER="True"
# ----- Linux / Clang ----- # ----- Linux / Clang -----
- os: linux - os: linux
@ -186,32 +187,32 @@ matrix:
# ----- OS X / Clang ----- # ----- OS X / Clang -----
- os: osx - os: osx
osx_image: xcode11 osx_image: xcode8
env: env:
- BUILD_TYPE="Debug" DOUBLE_PRECISION="False" - BUILD_TYPE="Debug" DOUBLE_PRECISION="False"
- os: osx - os: osx
osx_image: xcode11 osx_image: xcode8
env: env:
- BUILD_TYPE="Release" DOUBLE_PRECISION="False" - BUILD_TYPE="Release" DOUBLE_PRECISION="False"
- os: osx - os: osx
osx_image: xcode11 osx_image: xcode8
env: env:
- BUILD_TYPE="Debug" DOUBLE_PRECISION="True" - BUILD_TYPE="Debug" DOUBLE_PRECISION="True"
- os: osx - os: osx
osx_image: xcode11 osx_image: xcode8
env: env:
- BUILD_TYPE="Release" DOUBLE_PRECISION="True" - BUILD_TYPE="Release" DOUBLE_PRECISION="True"
- os: osx - os: osx
osx_image: xcode11 osx_image: xcode8
env: env:
- BUILD_TYPE="Debug" DOUBLE_PRECISION="True" PROFILER="True" - BUILD_TYPE="Debug" DOUBLE_PRECISION="True" PROFILER="True"
- os: osx - os: osx
osx_image: xcode11 osx_image: xcode8
env: env:
- BUILD_TYPE="Release" DOUBLE_PRECISION="True" PROFILER="True" - BUILD_TYPE="Release" DOUBLE_PRECISION="True" PROFILER="True"