forked from mattgodbolt/seasocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
122 lines (117 loc) · 2.97 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
language: generic
dist: bionic
jobs:
include:
- env: CXX=g++-10 CC=gcc-10
addons:
apt:
packages:
- g++-10
- valgrind
sources: &sources
- ubuntu-toolchain-r-test
- llvm-toolchain-bionic-9
- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- env: CXX=g++-9 CC=gcc-9
addons:
apt:
packages:
- g++-9
- valgrind
sources: *sources
- env: CXX=g++-8 CC=gcc-8
addons:
apt:
packages:
- g++-8
- valgrind
sources: *sources
- env: CXX=g++-7 CC=gcc-7
addons:
apt:
packages:
- g++-7
- valgrind
sources: *sources
- env: CXX=g++-6 CC=gcc-6 EXTRA_CMAKE=-DDEFLATE_SUPPORT=Off
addons:
apt:
packages:
- g++-6
- valgrind
sources: *sources
- env: CXX=g++-6 CC=gcc-6
addons:
apt:
packages:
- g++-6
- valgrind
sources: *sources
- env: CXX=g++-5 CC=gcc-5
addons:
apt:
packages:
- g++-5
- valgrind
sources: *sources
- env: CXX=clang++-11 CC=clang-11
addons:
apt:
packages:
- clang-11
- libc++-11-dev
- libc++abi-11-dev
- valgrind
sources: *sources
- env: CXX=clang++-10 CC=clang-10
addons:
apt:
packages:
- clang-10
- libc++-10-dev
- libc++abi-10-dev
- valgrind
sources: *sources
- env: CXX=clang++-9 CC=clang-9
addons:
apt:
packages:
- clang-9
- libc++-9-dev
- libc++abi-9-dev
- valgrind
sources: *sources
- env: CXX=clang++-8 CC=clang-8
addons:
apt:
packages:
- clang-8
- libc++-8-dev
- libc++abi-8-dev
- valgrind
sources: *sources
- env: CXX=clang++-7 CC=clang-7
addons:
apt:
packages:
- clang-7
- libc++-7-dev
- libc++abi-7-dev
- valgrind
sources: *sources
install:
- if [[ "$CXX" == clang* ]]; then export CXXFLAGS="-stdlib=libc++"; fi
- JOBS=2
before_script:
- cmake --version
- cmake . -Bbuild -DCMAKE_BUILD_TYPE=Release -DCOVERAGE=On ${EXTRA_CMAKE}
- cmake --build build -- -j${JOBS}
script:
- cd build
- cmake --build . --target test
- ctest -D ExperimentalBuild -j${JOBS}
- ctest -D ExperimentalMemCheck -j${JOBS}
- bash <(curl -s https://codecov.io/bash)