-
Notifications
You must be signed in to change notification settings - Fork 26
/
.travis.yml
52 lines (48 loc) · 1.65 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
language: cpp
compiler: g++
language: erlang
otp_release:
- 23.0
matrix:
include:
- os: linux
dist: bionic # Required for gcc-10
addons:
apt:
update: true
sources:
- sourceline: 'ppa:mhier/libboost-latest'
#- sourceline: 'ppa:ubuntu-toolchain-r/test'
- ubuntu-toolchain-r-test
packages:
- gcc-10
- g++-10
#- boost-latest
- boost1.74
- libxslt1.1
- python-lxml
- doxygen
env:
- MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"
before_install:
- eval "${MATRIX_EVAL}"
before_script:
- echo "DIR:BUILD=/tmp/${USER}/utxx" > .cmake-args.$(hostname)
- echo "DIR:INSTALL=/tmp/${USER}/install/@PROJECT@/@VERSION@" >> .cmake-args.$(hostname)
- echo "PKG_ROOT_DIR=/usr/local" >> .cmake-args.$(hostname)
- echo "BOOST_INCLUDEDIR=/usr/include" >> .cmake-args.$(hostname)
- echo "BOOST_LIBRARYDIR=/usr/lib/x86_64-linux-gnu" >> .cmake-args.$(hostname)
- echo "CMAKE_CXX_COMPILER=${CXX}" >> .cmake-args.$(hostname)
script:
- ${CXX} --version
############################################################################
# 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 generator=make build=Debug
- make
- make doc > build/doc.log
- make install
- make test
branches:
only: master