-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
118 lines (115 loc) · 3.02 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
language: cpp
sudo: required
before_install:
- export GCC="$GCC -m64 -fPIC -DPIC" GXX="$GXX -m64 -fPIC -DPIC"
- pushd $HOME/build
- git clone https://github.com/DX-MON/crunch.git DX-MON/crunch
- cd DX-MON/crunch
- sudo make install
- popd
install:
- export GCC="$GCC -m64" GXX="$GXX -m64"
- make
# - sudo make install
script:
- make tests
- make check
after_success:
- if [ "$COVERAGE" == "1" ]; then
bash <(curl -s https://codecov.io/bash) -x $GCOV;
fi
matrix:
include:
- compiler: clang-3.8
env: GCC=clang-3.8 GXX=clang++-3.8 COVERAGE=0
addons:
apt:
sources:
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.8 main'
key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-3.8
- compiler: clang-3.9
env: GCC=clang-3.9 GXX=clang++-3.9 COVERAGE=0
addons:
apt:
sources:
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main'
key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-3.9
- compiler: clang-4.0
env: GCC=clang-4.0 GXX=clang++-4.0 COVERAGE=0
addons:
apt:
sources:
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main'
key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-4.0
- compiler: clang-5.0
env: GCC=clang-5.0 GXX=clang++-5.0 COVERAGE=0
addons:
apt:
sources:
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main'
key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-5.0
- compiler: gcc-5
env: GCC=gcc-5 GXX=g++-5 GCOV=gcov-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
- compiler: gcc-5
env: GCC=gcc-5 GXX=g++-5 COVERAGE=0
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
- compiler: gcc-6
env: GCC=gcc-6 GXX=g++-6 GCOV=gcov-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- compiler: gcc-6
env: GCC=gcc-6 GXX=g++-6 COVERAGE=0
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- compiler: gcc-7
env: GCC=gcc-7 GXX=g++-7 GCOV=gcov-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
- compiler: gcc-7
env: GCC=gcc-7 GXX=g++-7 COVERAGE=0
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
env:
global:
- COVERAGE=1