summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-03-11 17:24:24 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-03-11 17:24:24 +0100
commit65a77f8324846c539e4c0863dac97c84d8bb8979 (patch)
tree98f0f8692cf3e9b34977d2b6b83027c7b830b9eb /.travis.yml
parent3c1495921d9022a870bd2bc9d9100b386d682450 (diff)
Another way to matrix
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml62
1 files changed, 52 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 1501f90e..709cbffc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,35 +7,77 @@ git:
matrix:
include:
+ # A. Linux
- os: linux
dist: xenial
compiler: gcc
env:
matrix:
- # Only examples and associated tests
+ # 1. Only examples and associated tests
- CMAKE_EXAMPLE='ON' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='OFF' MAKE_TARGET='test'
- # Only unitary tests
+ - os: linux
+ dist: xenial
+ compiler: gcc
+ env:
+ matrix:
+ # 2. Only unitary tests
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='ON' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='OFF' MAKE_TARGET='test'
- # Only utilities and associated tests
+ - os: linux
+ dist: xenial
+ compiler: gcc
+ env:
+ matrix:
+ # 3. Only utilities and associated tests
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='ON' CMAKE_PYTHON='OFF' MAKE_TARGET='test'
- # Only doxygen documentation
+ - os: linux
+ dist: xenial
+ compiler: gcc
+ env:
+ matrix:
+ # 4. Only doxygen documentation
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='OFF' MAKE_TARGET='doxygen'
- # Only Python, associated tests and sphinx documentation
+ - os: linux
+ dist: xenial
+ compiler: gcc
+ env:
+ matrix:
+ # 5. Only Python, associated tests and sphinx documentation
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='ON' MAKE_TARGET='test sphinx'
+ # A. Mac OSX
- os: osx
osx_image: xcode9.4
compiler: clang
env:
matrix:
- # Only examples and associated tests
+ # 1. Only examples and associated tests
- CMAKE_EXAMPLE='ON' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='OFF' MAKE_TARGET='test'
- # Only unitary tests
+ - os: osx
+ osx_image: xcode9.4
+ compiler: clang
+ env:
+ matrix:
+ # 2. Only unitary tests
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='ON' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='OFF' MAKE_TARGET='test'
- # Only utilities and associated tests
+ - os: osx
+ osx_image: xcode9.4
+ compiler: clang
+ env:
+ matrix:
+ # 3. Only utilities and associated tests
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='ON' CMAKE_PYTHON='OFF' MAKE_TARGET='test'
- # Only doxygen documentation
+ - os: osx
+ osx_image: xcode9.4
+ compiler: clang
+ env:
+ matrix:
+ # 4. Only doxygen documentation
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='OFF' MAKE_TARGET='doxygen'
- # Only Python, associated tests and sphinx documentation
+ - os: osx
+ osx_image: xcode9.4
+ compiler: clang
+ env:
+ matrix:
+ # 5. Only Python, associated tests and sphinx documentation
- CMAKE_EXAMPLE='OFF' CMAKE_TEST='OFF' CMAKE_UTILITIES='OFF' CMAKE_PYTHON='ON' MAKE_TARGET='test sphinx'
cache: