blob: 90e0f7c222658d8afa1f6a93008402e28e568fb1 [file] [log] [blame]
Davide Pesaventoee18cce2018-01-11 01:58:02 -05001language: cpp
2dist: trusty
Davide Pesavento2a7f32b2017-09-02 13:48:13 -04003sudo: required
Davide Pesavento2a7f32b2017-09-02 13:48:13 -04004env:
5 global:
6 - WAF_JOBS=2
7
8matrix:
9 include:
10 # Linux/gcc
Davide Pesaventoee18cce2018-01-11 01:58:02 -050011 # https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+packages
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040012 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050013 env: COMPILER=g++-4.8
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040014 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050015 env: COMPILER=g++-4.9
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040016 addons:
17 apt:
18 sources: ubuntu-toolchain-r-test
19 packages: g++-4.9
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040020 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050021 env: COMPILER=g++-5
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040022 addons:
23 apt:
24 sources: ubuntu-toolchain-r-test
25 packages: g++-5
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040026 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050027 env: COMPILER=g++-6
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040028 addons:
29 apt:
30 sources: ubuntu-toolchain-r-test
31 packages: g++-6
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040032 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050033 env: COMPILER=g++-7
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040034 addons:
35 apt:
36 sources: ubuntu-toolchain-r-test
37 packages: g++-7
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040038
39 # Linux/clang
Davide Pesaventoee18cce2018-01-11 01:58:02 -050040 # https://apt.llvm.org/
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040041 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050042 env: COMPILER=clang++-3.5
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040043 addons:
44 apt:
45 packages: clang-3.5
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040046 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050047 env: COMPILER=clang++-3.6
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040048 addons:
49 apt:
50 packages: clang-3.6
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040051 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050052 env: COMPILER=clang++-3.7
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040053 addons:
54 apt:
Davide Pesaventoee18cce2018-01-11 01:58:02 -050055 sources: ["llvm-toolchain-precise-3.7", "ubuntu-toolchain-r-test"]
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040056 packages: clang-3.7
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040057 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050058 env: COMPILER=clang++-3.8
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040059 addons:
60 apt:
Davide Pesaventoee18cce2018-01-11 01:58:02 -050061 sources: ["llvm-toolchain-precise-3.8", "ubuntu-toolchain-r-test"]
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040062 packages: clang-3.8
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040063 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050064 env: COMPILER=clang++-3.9
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040065 addons:
66 apt:
Davide Pesaventoee18cce2018-01-11 01:58:02 -050067 sources: ["llvm-toolchain-trusty-3.9", "ubuntu-toolchain-r-test"]
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040068 packages: clang-3.9
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040069 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050070 env: COMPILER=clang++-4.0
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040071 addons:
72 apt:
Davide Pesaventoee18cce2018-01-11 01:58:02 -050073 sources: ["llvm-toolchain-trusty-4.0", "ubuntu-toolchain-r-test"]
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040074 packages: clang-4.0
Davide Pesavento74de1452017-10-19 01:43:02 -040075 - os: linux
Davide Pesaventoee18cce2018-01-11 01:58:02 -050076 env: COMPILER=clang++-5.0
Davide Pesavento74de1452017-10-19 01:43:02 -040077 addons:
78 apt:
Davide Pesaventoee18cce2018-01-11 01:58:02 -050079 sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"]
Davide Pesavento74de1452017-10-19 01:43:02 -040080 packages: clang-5.0
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040081
82 # macOS/clang
83 # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
84 - os: osx
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040085 osx_image: xcode7.3
Davide Pesaventoee18cce2018-01-11 01:58:02 -050086 env: OSX_VERSION=10.11
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040087 - os: osx
88 osx_image: xcode8.3
Davide Pesaventoee18cce2018-01-11 01:58:02 -050089 env: OSX_VERSION=10.12
Davide Pesavento74de1452017-10-19 01:43:02 -040090 - os: osx
Davide Pesaventoee18cce2018-01-11 01:58:02 -050091 osx_image: xcode9.2
92 env: OSX_VERSION=10.12
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040093
94before_script:
Davide Pesaventoee18cce2018-01-11 01:58:02 -050095 - if [[ ${TRAVIS_OS_NAME} == linux ]]; then export NODE_LABELS="Linux Ubuntu Ubuntu-14.04"; fi
96 - if [[ ${TRAVIS_OS_NAME} == osx ]]; then export NODE_LABELS="OSX OSX-${OSX_VERSION}"; fi
97 - if [[ -n ${COMPILER} ]]; then export CXX=${COMPILER}; fi
Davide Pesavento2a7f32b2017-09-02 13:48:13 -040098 - ${CXX:-c++} --version
99 - python --version
100
101script:
102 - ./.jenkins