-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
43 lines (39 loc) · 967 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
43
language: cpp
dist: trusty
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- george-edison55-precise-backports
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- cmake-data
- cmake
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- george-edison55-precise-backports
- ubuntu-toolchain-r-test
packages:
- g++-7
- cmake-data
- cmake
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
before_install:
- eval "${MATRIX_EVAL}"
install:
- sudo apt-get install libboost-dev libssl-dev libz-dev
script:
- cmake --version
- g++ --version
- mkdir build
- cd build && cmake -DENABLE_EXAMPLES=on -DENABLE_UNITTEST=on .. && make -j5