-
Notifications
You must be signed in to change notification settings - Fork 236
/
.travis.yml
130 lines (113 loc) · 2.87 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
notifications:
irc: "chat.freenode.net#meta-toolkit"
language: cpp
sudo: false
cache:
directories:
deps/icu
addons:
apt:
packages: &default-packages
- libjemalloc-dev
- zlib1g-dev
matrix:
include:
# Linux/GCC 4.8
- os: linux
env: COMPILER=gcc GCC_VERSION=4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default-packages
- gcc-4.8
- g++-4.8
# Linux/GCC 4.9
- os: linux
env: COMPILER=gcc GCC_VERSION=4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default-packages
- gcc-4.9
- g++-4.9
# Linux/GCC 5
- os: linux
env: COMPILER=gcc GCC_VERSION=5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default-packages
- gcc-5
- g++-5
# Linux/GCC 6
- os: linux
env: COMPILER=gcc GCC_VERSION=6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default-packages
- gcc-6
- g++-6
# Linux/Clang 3.8
- os: linux
env: COMPILER=clang CLANG_VERSION=3.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- *default-packages
- clang-3.8
# Linux/Clang 3.8 + libc++-3.9
# (I want this to be 3.9 across the board, but the apt source is not
# yet whitelisted for llvm 3.9)
- os: linux
env:
- COMPILER=clang
- CLANG_VERSION=3.8
- LLVM_TAG=RELEASE_390
- LIBCXX_EXTRA_CMAKE_FLAGS=-DLIBCXX_INSTALL_EXPERIMENTAL_LIBRARY=On
- CMAKE_VERSION=3.4.3
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- *default-packages
- clang-3.8
# OS X 10.10 + Xcode 6.4 (this is the only 10.10 image on Travis)
- os: osx
osx_image: xcode6.4
env: COMPILER=clang
# OS X 10.11 + Xcode 7.3
- os: osx
osx_image: xcode7.3
env: COMPILER=clang
# OS X 10.12 + Xcode 8.2
- os: osx
osx_image: xcode8.2
env: COMPILER=clang
# OS X/GCC 7
- os: osx
osx_image: xcode7.3
env: COMPILER=gcc
install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then source travis/install_linux.sh; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then source travis/install_osx.sh; fi
before_script:
- mkdir build
- cd build
- cp ../config.toml ./
script:
- git submodule update --init --recursive
- ../travis/cmake.sh Debug && make -j2 && make clean && rm -rf CMake* && ../travis/cmake.sh Release && make -j2 && ./unit-test --reporter=spec