forked from boostorg/odeint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (21 loc) · 693 Bytes
/
.travis.yml
File metadata and controls
27 lines (21 loc) · 693 Bytes
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
language: cpp
compiler:
- gcc
- clang
env:
- CXXSTD=''
- CXXSTD='cxxflags="-std=c++0x"'
before_install:
- wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download -O /tmp/boost.tar.bz2
- tar jxf /tmp/boost.tar.bz2
- mv boost_1_55_0 $PWD/boost-trunk
# patch the boost build system
- patch $PWD/boost-trunk/tools/build/v2/build/toolset.jam toolset.jam.patch
- export BOOST_ROOT="$PWD/boost-trunk"
- cd $BOOST_ROOT
- ./bootstrap.sh
- cd $TRAVIS_BUILD_DIR
script:
- $BOOST_ROOT/b2 toolset=$CC$GCCVER $CXXSTD
# build in c++11 mode only with gcc
# - if [ "$CXX" = "g++" ]; then $BOOST_ROOT/b2 -a toolset=$CC$GCCVER cxxflags="-std=c++0x"; fi