-
Notifications
You must be signed in to change notification settings - Fork 198
/
.travis.yml
38 lines (29 loc) · 863 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
sudo: required
dist: xenial #16.04
#dist: trusty #14.04
os: linux
notifications:
email: false
language: cpp
compiler:
- gcc
- clang
cache: ccache
env:
global:
- BOOST_VERSION=1_72_0
- BOOST_DOT_VER=1.72.0
#before_install:
install:
- wget -O boost_${BOOST_VERSION}.tar.gz https://dl.bintray.com/boostorg/release/${BOOST_DOT_VER}/source/boost_${BOOST_VERSION}.tar.gz && tar -xzf boost_${BOOST_VERSION}.tar.gz
# for filesystem
- sudo mkdir /home/chrono
script:
- cd boost_${BOOST_VERSION}
- ./bootstrap.sh --without-libraries=graph,locale,regex,serialization,wave,mpi > build.log 2>&1 || (cat build.log && exit 1)
- sudo ./b2 link=static -j2 install > build.log 2>&1 || (cat build.log && exit 1)
- cd ./tools/build
- ./bootstrap.sh
- sudo ./b2 install > build.log 2>&1 || (cat build.log && exit 1)
- cd ../../..
- ./go