forked from adishavit/argh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (69 loc) · 2.2 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
language: cpp
addons:
# these apt sources will be referenced later (by using *name)
apt:
sources: &apt_sources
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.5
- llvm-toolchain-precise-3.6
- llvm-toolchain-precise-3.7
- llvm-toolchain-precise-3.8
- llvm-toolchain-precise
matrix:
include:
# GCC 6
- env: COMPILER=g++-6 ADDITIONAL_CXX_FLAGS=" -fuse-ld=gold"
compiler: gcc
addons: &gcc6
apt:
packages: ["g++-6", "valgrind", "g++-6-multilib", "libc6-dbg", "libc6-dbg:i386"]
sources: *apt_sources
# GCC 5
- env: COMPILER=g++-5
compiler: gcc
addons: &gcc5
apt:
packages: ["g++-5", "valgrind", "g++-5-multilib", "libc6-dbg", "libc6-dbg:i386"]
sources: *apt_sources
# GCC 4.9
- env: COMPILER=g++-4.9
compiler: gcc
addons: &gcc49
apt:
packages: ["g++-4.9", "valgrind", "g++-4.9-multilib", "libc6-dbg", "libc6-dbg:i386"]
sources: *apt_sources
# GCC 4.8
- env: COMPILER=g++-4.8
compiler: gcc
addons: &gcc48
apt:
packages: ["g++-4.8", "valgrind", "g++-4.8-multilib", "libc6-dbg", "libc6-dbg:i386"]
sources: *apt_sources
# Clang 3.5
- env: COMPILER=clang++-3.5
addons: &clang35
apt:
packages: ["clang-3.5", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: *apt_sources
# Clang 3.6
- env: COMPILER=clang++-3.6
addons: &clang36
apt:
packages: ["clang-3.6", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: *apt_sources
# Clang 3.7
- env: COMPILER=clang++-3.7
addons: &clang37
apt:
packages: ["clang-3.7", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: *apt_sources
# Clang 3.8
- env: COMPILER=clang++-3.8
addons: &clang38
apt:
packages: ["clang-3.8", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: *apt_sources
script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make && ./argh_tests