-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
115 lines (104 loc) · 2.25 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
language: c
sudo: true
before_install:
- sudo apt-get install valgrind cppcheck
- git clone https://github.com/Snaipe/Criterion.git
- cd Criterion && git checkout master && mkdir build && cd build
- CC=gcc cmake ..
- CC=gcc cmake --build .
- sudo make install
- cd ../../
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
env:
- COMPILER=gcc-4.9
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
env:
- COMPILER=gcc-5
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
env:
- COMPILER=gcc-6
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
env:
- COMPILER=gcc-7
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env:
- COMPILER=clang-3.6
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env:
- COMPILER=clang-3.7
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-3.9
packages:
- clang-3.9
env:
- COMPILER=clang-3.9
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
env:
- COMPILER=clang-4.0
# - os: linux
# addons:
# apt:
# sources:
# - llvm-toolchain-trusty-5.0
# packages:
# - clang-5.0
# env:
# - COMPILER=clang-5.0
script:
- uname -a
- $COMPILER --version
- CC=$COMPILER cmake . && make
- cppcheck --verbose ./src
- cd tests
- cmake . && make
- ./xstarter_tests --verbose=1
- valgrind --leak-check=full ./xstarter_tests --no-early-exit --verbose=1