-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 842 Bytes
/
.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
sudo: false
language: cpp
matrix:
include:
- env: GCC_VERSION=5
os: linux
compiler: g++-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
before_install: &cmake380
- curl -o cmake-3.8.0-Linux-x86_64.tar.gz https://cmake.org/files/v3.8/cmake-3.8.0-Linux-x86_64.tar.gz
- tar -xf cmake-3.8.0-Linux-x86_64.tar.gz
- export PATH="${PWD}/cmake-3.8.0-Linux-x86_64/bin:${PATH}"
- env: CLANG_VERSION=3.8
os: linux
compiler: clang-3.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
before_install: *cmake380
before_script:
- mkdir _build
- cd _build
- cmake ..
script:
- cmake --build . --target run_all_tests -- -j2