-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
69 lines (64 loc) · 2.11 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
language: cpp
matrix:
include:
- os: linux
addons:
apt:
update: true
sources:
- sourceline: 'ppa:mhier/libboost-latest'
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- gcc-9
- g++-9
#- boost-latest
- boost1.70
- libaio-dev
#- cmake
#- cmake-data
- libxslt1.1
- python-lxml # Use Python2
- doxygen
env:
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
- os: linux
addons:
apt:
update: true
sources:
- sourceline: 'ppa:mhier/libboost-latest'
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- deadsnakes # for python3
packages:
- gcc-9
- g++-9
- boost1.70
- libaio-dev
- libxslt1.1
- python3.7 # Use Python3
- python3-lxml
- doxygen
env:
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
before_install:
- eval "${MATRIX_EVAL}"
before_script:
- |
echo "PKG_ROOT_DIR=/usr/local" > .cmake-args.${HOSTNAME}
echo "WITH_THRIFT=OFF" >> .cmake-args.${HOSTNAME}
echo "ENV:BOOST_ROOT=/usr/include" >> .cmake-args.${HOSTNAME}
echo "ENV:BOOST_LIBRARYDIR=/usr/lib" >> .cmake-args.${HOSTNAME}
echo "WITH_ENUM_SERIALIZATION=ON" >> .cmake-args.${HOSTNAME}
script:
- ${CXX} --version
- python3 -VV
#- find /usr/include -name '*boost*' | head -100
#- find /usr/lib -name '*boost*' | head -100
############################################################################
# Install a recent CMake (unless already installed on OS X)
############################################################################
- cd ${TRAVIS_BUILD_DIR} # Go back to the root of the project and bootstrap
- make bootstrap toolchain=gcc generator=make build=debug
- make jobs=$(nproc)
branches:
only: master