blob: b5f672ab7e310c980a82007e002b3a98032930fd [file] [log] [blame]
Davide Pesavento118a2942018-01-21 22:34:24 -05001language: cpp
2dist: trusty
Zhiyi Zhang8617a792017-01-17 16:45:56 -08003sudo: required
Zhiyi Zhang8617a792017-01-17 16:45:56 -08004env:
5 global:
Zhiyi Zhang8617a792017-01-17 16:45:56 -08006 - BOOST_TEST_COLOR_OUTPUT=true
Davide Pesavento118a2942018-01-21 22:34:24 -05007 - JOB_NAME=limited-build
8 - WAF_JOBS=2
9
Zhiyi Zhang8617a792017-01-17 16:45:56 -080010matrix:
11 include:
Davide Pesavento118a2942018-01-21 22:34:24 -050012 # Linux/gcc
13 # https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+packages
Zhiyi Zhang8617a792017-01-17 16:45:56 -080014 - os: linux
Davide Pesavento118a2942018-01-21 22:34:24 -050015 env: COMPILER=g++-4.8
Zhiyi Zhang8617a792017-01-17 16:45:56 -080016 - os: linux
Davide Pesavento118a2942018-01-21 22:34:24 -050017 env: COMPILER=g++-4.9
18 addons:
19 apt:
20 sources: ubuntu-toolchain-r-test
21 packages: g++-4.9
22 - os: linux
23 env: COMPILER=g++-5
24 addons:
25 apt:
26 sources: ubuntu-toolchain-r-test
27 packages: g++-5
28 - os: linux
29 env: COMPILER=g++-6
30 addons:
31 apt:
32 sources: ubuntu-toolchain-r-test
33 packages: g++-6
34 - os: linux
35 env: COMPILER=g++-7
36 addons:
37 apt:
38 sources: ubuntu-toolchain-r-test
39 packages: g++-7
40
41 # Linux/clang
42 # https://apt.llvm.org/
43 - os: linux
44 env: COMPILER=clang++-3.5
45 addons:
46 apt:
47 packages: clang-3.5
48 - os: linux
49 env: COMPILER=clang++-3.6
50 addons:
51 apt:
52 packages: clang-3.6
53 - os: linux
54 env: COMPILER=clang++-3.7 DISABLE_ASAN=yes
55 addons:
56 apt:
57 sources: ["llvm-toolchain-precise-3.7", "ubuntu-toolchain-r-test"]
58 packages: clang-3.7
59 - os: linux
60 env: COMPILER=clang++-3.8
61 addons:
62 apt:
63 sources: ["llvm-toolchain-precise-3.8", "ubuntu-toolchain-r-test"]
64 packages: clang-3.8
65 - os: linux
66 env: COMPILER=clang++-3.9 DISABLE_ASAN=yes
67 addons:
68 apt:
69 sources: ["llvm-toolchain-trusty-3.9", "ubuntu-toolchain-r-test"]
70 packages: clang-3.9
71 - os: linux
72 env: COMPILER=clang++-4.0
73 addons:
74 apt:
75 sources: ["llvm-toolchain-trusty-4.0", "ubuntu-toolchain-r-test"]
76 packages: clang-4.0
77 - os: linux
78 env: COMPILER=clang++-5.0
79 addons:
80 apt:
81 sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"]
82 packages: clang-5.0
83
84 # macOS/clang
85 # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
Zhiyi Zhang8617a792017-01-17 16:45:56 -080086 - os: osx
Davide Pesavento118a2942018-01-21 22:34:24 -050087 osx_image: xcode7.3
88 env: OSX_VERSION=10.11
89 - os: osx
90 osx_image: xcode8.3
91 env: OSX_VERSION=10.12
92 - os: osx
93 osx_image: xcode9.2
94 env: OSX_VERSION=10.12
95
96before_script:
97 - if [[ ${TRAVIS_OS_NAME} == linux ]]; then export NODE_LABELS="Linux Ubuntu Ubuntu-14.04"; fi
98 - if [[ ${TRAVIS_OS_NAME} == osx ]]; then export NODE_LABELS="OSX OSX-${OSX_VERSION}"; fi
99 - if [[ -n ${COMPILER} ]]; then export CXX=${COMPILER}; fi
100 - ${CXX:-c++} --version
101 - python --version
102
Zhiyi Zhang8617a792017-01-17 16:45:56 -0800103script:
104 - ./.jenkins