forked from khizmax/libcds
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (34 loc) · 1.16 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
language: cpp
compiler: g++
# - gcc
# - clang
before_install:
- export LIBCDS_BUILD_DIR=`pwd`
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- export GCC_VERSION=4.9
- export BOOST_VERSION=57
install:
- sudo apt-get install -qq g++-${GCC_VERSION}
- export CXX="g++-${GCC_VERSION}"
- wget -O boost_1_${BOOST_VERSION}_0.tar.bz2 http://sourceforge.net/projects/boost/files/boost/1.${BOOST_VERSION}.0/boost_1_${BOOST_VERSION}_0.tar.bz2/download
- tar xjf boost_1_${BOOST_VERSION}_0.tar.bz2
- cd boost_1_${BOOST_VERSION}_0
- ./bootstrap.sh
- ./b2 --with-thread --with-atomic --with-date_time --with-system --with-timer --stagedir=stage64 --toolset=gcc-${GCC_VERSION} address-model=64
- cd ..
before_script: cd ./build
script: ./build.sh -b 64 -j 2 -x ${CXX} -z '-Wall -Wextra -pedantic -Wno-unused-local-typedefs' --with-boost ../boost_1_${BOOST_VERSION}_0 -t test_hdr
#after_success:
#after_failure:
after_script: cd ..
# blacklist
#branches:
# except:
# - integration
# whitelist
branches:
only:
- master
- dev
- integration