-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
48 lines (41 loc) · 1.09 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
language: cpp
jdk:
- oraclejdk8
os: linux
dist: trusty
matrix:
include:
- env: CI_COMPILER=CLANG
sudo: required # Clang requires sudo for ptrace with address sanitizer
addons:
apt:
packages:
- clang-3.8
- g++-5
- g++-5-multilib
- gcc-5-multilib
- gcc-multilib
- gnuplot
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
- env: CI_COMPILER=GCC
addons:
apt:
packages:
- g++-5
- g++-5-multilib
- gcc-5-multilib
- gcc-multilib
- gnuplot
sources:
- ubuntu-toolchain-r-test
install:
- sudo update-alternatives --remove-all gcc || true
- sudo update-alternatives --remove-all g++ || true
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10 || true
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 10 || true
script:
- ./gradlew build --stacktrace --console=plain -PwithBench
notifications:
email: false