blob: 0cd49e65a73cfe2a535aa753e1c9d9779c8e9103 [file] [log] [blame]
Davide Pesavento9412d122018-01-02 21:52:09 -05001language: cpp
2dist: trusty
Alexander Afanasyevce306ca2015-12-09 12:59:05 -08003sudo: required
Davide Pesavento09348882016-09-17 02:39:44 +02004env:
5 global:
6 - JOB_NAME=limited-build
Davide Pesavento3cf90782017-08-10 01:21:20 -04007 - WAF_JOBS=2
Davide Pesavento71430482017-06-08 20:06:40 -04008
Alexander Afanasyevce306ca2015-12-09 12:59:05 -08009matrix:
10 include:
Davide Pesavento71430482017-06-08 20:06:40 -040011 # Linux/gcc
Davide Pesavento9412d122018-01-02 21:52:09 -050012 # https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+packages
Alexander Afanasyevce306ca2015-12-09 12:59:05 -080013 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050014 env: COMPILER=g++-4.8
Davide Pesavento71430482017-06-08 20:06:40 -040015 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050016 env: COMPILER=g++-4.9
Davide Pesavento71430482017-06-08 20:06:40 -040017 addons:
18 apt:
19 sources: ubuntu-toolchain-r-test
20 packages: g++-4.9
Davide Pesavento71430482017-06-08 20:06:40 -040021 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050022 env: COMPILER=g++-5
Davide Pesavento71430482017-06-08 20:06:40 -040023 addons:
24 apt:
25 sources: ubuntu-toolchain-r-test
26 packages: g++-5
Davide Pesavento71430482017-06-08 20:06:40 -040027 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050028 env: COMPILER=g++-6
Davide Pesavento71430482017-06-08 20:06:40 -040029 addons:
30 apt:
31 sources: ubuntu-toolchain-r-test
32 packages: g++-6
Davide Pesavento71430482017-06-08 20:06:40 -040033 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050034 env: COMPILER=g++-7
Davide Pesavento71430482017-06-08 20:06:40 -040035 addons:
36 apt:
37 sources: ubuntu-toolchain-r-test
38 packages: g++-7
Davide Pesavento71430482017-06-08 20:06:40 -040039
40 # Linux/clang
Davide Pesavento9412d122018-01-02 21:52:09 -050041 # https://apt.llvm.org/
Davide Pesavento71430482017-06-08 20:06:40 -040042 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050043 env: COMPILER=clang++-3.5
Davide Pesavento71430482017-06-08 20:06:40 -040044 addons:
45 apt:
46 packages: clang-3.5
Davide Pesavento71430482017-06-08 20:06:40 -040047 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050048 env: COMPILER=clang++-3.6
Davide Pesavento71430482017-06-08 20:06:40 -040049 addons:
50 apt:
51 packages: clang-3.6
Davide Pesavento71430482017-06-08 20:06:40 -040052 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050053 env: COMPILER=clang++-3.7 DISABLE_ASAN=yes
Davide Pesavento71430482017-06-08 20:06:40 -040054 addons:
55 apt:
Davide Pesavento9412d122018-01-02 21:52:09 -050056 sources: ["llvm-toolchain-precise-3.7", "ubuntu-toolchain-r-test"]
Davide Pesavento71430482017-06-08 20:06:40 -040057 packages: clang-3.7
Alexander Afanasyevce306ca2015-12-09 12:59:05 -080058 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050059 env: COMPILER=clang++-3.8
Davide Pesavento71430482017-06-08 20:06:40 -040060 addons:
61 apt:
Davide Pesavento9412d122018-01-02 21:52:09 -050062 sources: ["llvm-toolchain-precise-3.8", "ubuntu-toolchain-r-test"]
Davide Pesavento71430482017-06-08 20:06:40 -040063 packages: clang-3.8
Davide Pesavento71430482017-06-08 20:06:40 -040064 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050065 env: COMPILER=clang++-3.9 DISABLE_ASAN=yes
Davide Pesavento71430482017-06-08 20:06:40 -040066 addons:
67 apt:
Davide Pesavento9412d122018-01-02 21:52:09 -050068 sources: ["llvm-toolchain-trusty-3.9", "ubuntu-toolchain-r-test"]
Davide Pesavento71430482017-06-08 20:06:40 -040069 packages: clang-3.9
Davide Pesavento71430482017-06-08 20:06:40 -040070 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050071 env: COMPILER=clang++-4.0
Davide Pesavento71430482017-06-08 20:06:40 -040072 addons:
73 apt:
Davide Pesavento9412d122018-01-02 21:52:09 -050074 sources: ["llvm-toolchain-trusty-4.0", "ubuntu-toolchain-r-test"]
Davide Pesavento71430482017-06-08 20:06:40 -040075 packages: clang-4.0
Davide Pesaventobcf23a32017-09-12 16:45:59 -040076 - os: linux
Davide Pesavento9412d122018-01-02 21:52:09 -050077 env: COMPILER=clang++-5.0
Davide Pesaventobcf23a32017-09-12 16:45:59 -040078 addons:
79 apt:
Davide Pesavento9412d122018-01-02 21:52:09 -050080 sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"]
Davide Pesaventobcf23a32017-09-12 16:45:59 -040081 packages: clang-5.0
Davide Pesavento9412d122018-01-02 21:52:09 -050082 - os: linux
83 env: COMPILER=clang++-6.0
84 addons:
85 apt:
Davide Pesavento8a8c01b2018-03-11 00:07:52 -050086 sources: ["llvm-toolchain-trusty-6.0", "ubuntu-toolchain-r-test"]
Davide Pesavento9412d122018-01-02 21:52:09 -050087 packages: clang-6.0
Davide Pesavento8a8c01b2018-03-11 00:07:52 -050088 - os: linux
Davide Pesavento92e4d5c2018-03-11 20:05:48 -040089 env: COMPILER=clang++-7
Davide Pesavento8a8c01b2018-03-11 00:07:52 -050090 addons:
91 apt:
92 sources: ["llvm-toolchain-trusty", "ubuntu-toolchain-r-test"]
Davide Pesavento92e4d5c2018-03-11 20:05:48 -040093 packages: clang-7
Davide Pesavento71430482017-06-08 20:06:40 -040094
95 # macOS/clang
Davide Pesavento8a8c01b2018-03-11 00:07:52 -050096 # https://docs.travis-ci.com/user/reference/osx/#OS-X-Version
Alexander Afanasyevce306ca2015-12-09 12:59:05 -080097 - os: osx
Davide Pesavento71430482017-06-08 20:06:40 -040098 osx_image: xcode7.3
Davide Pesavento9412d122018-01-02 21:52:09 -050099 env: OSX_VERSION=10.11
Davide Pesavento71430482017-06-08 20:06:40 -0400100 - os: osx
101 osx_image: xcode8.3
Davide Pesavento9412d122018-01-02 21:52:09 -0500102 env: OSX_VERSION=10.12
Davide Pesavento49650be2017-10-15 22:03:57 -0400103 - os: osx
Davide Pesavento9412d122018-01-02 21:52:09 -0500104 osx_image: xcode9.2
105 env: OSX_VERSION=10.12
106 - os: osx
107 osx_image: xcode9.2
108 env: OSX_VERSION=10.12 USE_OPENSSL_1_1=yes
Davide Pesavento8a8c01b2018-03-11 00:07:52 -0500109 - os: osx
110 osx_image: xcode9.3beta
111 env: OSX_VERSION=10.13
Davide Pesavento9412d122018-01-02 21:52:09 -0500112
113 allow_failures:
Davide Pesavento92e4d5c2018-03-11 20:05:48 -0400114 - env: COMPILER=clang++-7
Davide Pesavento9412d122018-01-02 21:52:09 -0500115 - env: OSX_VERSION=10.12 USE_OPENSSL_1_1=yes
116
117 fast_finish: true
Davide Pesavento71430482017-06-08 20:06:40 -0400118
119before_script:
Davide Pesavento9412d122018-01-02 21:52:09 -0500120 - if [[ ${TRAVIS_OS_NAME} == linux ]]; then export NODE_LABELS="Linux Ubuntu Ubuntu-14.04"; fi
121 - if [[ ${TRAVIS_OS_NAME} == osx ]]; then export NODE_LABELS="OSX OSX-${OSX_VERSION}"; fi
122 - if [[ -n ${COMPILER} ]]; then export CXX=${COMPILER}; fi
Davide Pesavento71430482017-06-08 20:06:40 -0400123 - ${CXX:-c++} --version
Davide Pesavento364eeee2017-08-10 00:46:08 -0400124 - python --version
Davide Pesavento71430482017-06-08 20:06:40 -0400125
Alexander Afanasyevb4500d92014-01-17 20:43:24 -0800126script:
Alexander Afanasyeva87e0a82014-10-21 14:09:19 -0400127 - ./.jenkins