-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.travis.yml
82 lines (73 loc) · 2.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
git:
depth: 3
sudo: false
language: cpp
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
sudo: false
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages: ['clang-3.8', 'lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev:i386', 'g++-4.9-multilib']
env:
- PATH="~/.local/bin:$PATH"
- MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
- os: linux
dist: trusty
sudo: false
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages: ['clang-3.4', 'lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev:i386', 'g++-4.9-multilib']
env:
- PATH="~/.local/bin:$PATH"
- MATRIX_EVAL="CC=clang && CXX=clang++"
- os: osx
osx_image: xcode6.4
sudo: true
language: cpp
env:
- PATH="~/Library/Python/2.7/bin:$PATH"
- MATRIX_EVAL="CC=clang && CXX=clang++"
- os: linux
dist: bionic
sudo: false
language: cpp
addons:
apt:
packages: ['lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev:i386', 'g++-multilib', 'clang']
env:
- PATH="~/.local/bin:$PATH"
- MATRIX_EVAL="CC=clang && CXX=clang++"
- os: linux
dist: bionic
sudo: false
language: cpp
addons:
apt:
packages: ['lib32stdc++6', 'lib32z1-dev', 'libc6-dev-i386', 'linux-libc-dev:i386', 'g++-multilib', 'g++']
env:
- PATH="~/.local/bin:$PATH"
- MATRIX_EVAL="CC=gcc && CXX=g++"
before_script:
- CHECKOUT_DIR=$PWD && cd .. && $CHECKOUT_DIR/checkout-deps.sh && cd $CHECKOUT_DIR
script:
- eval "${MATRIX_EVAL}"
- eval "${CC} --version"
- eval "${CXX} --version"
- mkdir build-opt && cd build-opt
- python ../configure.py --enable-optimize
- ambuild
- ./dist/testrunner
- cd ..
- mkdir build-debug && cd build-debug
- python ../configure.py --enable-debug
- ambuild
- ./dist/testrunner