-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
47 lines (41 loc) · 1.33 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
# Travis configuration
language: cpp
matrix:
include:
# works on Precise and Trusty
- name: Linux with gcc/g++ 7 and BOOST 1.72.0
os: linux
dist: bionic
install:
# installation of boost 1.72
- wget --no-verbose --output-document=boost-trunk.tar.bz2 http://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download
- export BOOST_ROOT="$TRAVIS_BUILD_DIR/../boost-trunk"
- export CMAKE_MODULE_PATH="$BOOST_ROOT"
- mkdir -p $BOOST_ROOT
- tar jxf boost-trunk.tar.bz2 --strip-components=1 -C $BOOST_ROOT
- (cd $BOOST_ROOT; ./bootstrap.sh --with-libraries=date_time,filesystem,system,iostreams,regex,python,test,program_options)
- (cd $BOOST_ROOT; ./b2 threading=multi --prefix=$BOOST_ROOT -d0 install)
# installation of cmake
- sudo apt-get install cmake
# installation of graphviz and doxygen
- sudo apt-get -qq install graphviz doxygen
# verifying installation
- which cmake
- cmake --version
- which g++
- g++ -v
before_script:
- mkdir build
- cd build
- cmake .. -DBOOST_ROOT=$BOOST_ROOT -DBoost_ARCHITECTURE:STRING=-x64
script: make run
# whitelist
branches:
only:
- master
notifications:
email:
recipients:
- thomas.lehmann.private@gmail.com
on_success: always
on_failure: always