-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
42 lines (37 loc) · 856 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
36
37
38
39
40
41
42
# vim: set ts=2 sw=2 sts=2 et :
language: cpp
matrix:
include:
# Oldest supported GCC
- os: linux
addons:
apt:
sources: ubuntu-toolchain-r-test
packages: g++-4.7
compiler: gcc-4.7
env: CXX_=g++-4.7
# Latest GCC
- os: linux
addons:
apt:
sources: ubuntu-toolchain-r-test
packages: g++-5
compiler: gcc-5
env: CXX_=g++-5
# Latest Clang
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages: clang-3.7
compiler: clang-3.7
env: CXX_=clang++-3.7
script:
# Travis exports CXX after set via env. Fix.
- export CXX=$CXX_
- $CXX --version
# Test library
- make clean check
- make clean check BUILDFLAGS='-O2 -DNDEBUG'