1cf4c59b0df3bb1dfab675d947bbf8a0edd9fd36
[libcds.git] / .travis.yml
1 \r
2 language: cpp\r
3 compiler: g++\r
4 #  - gcc\r
5 #  - clang\r
6 \r
7 before_install:\r
8     - export LIBCDS_BUILD_DIR=`pwd`\r
9     - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test\r
10     - sudo apt-get update -qq\r
11 \r
12 install:\r
13     - sudo apt-get install -qq g++-4.8\r
14     - export CXX="g++-4.8"\r
15     - export BOOST_VERSION="57"\r
16     - 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\r
17     - tar xjf boost_1_${BOOST_VERSION}_0.tar.bz2\r
18     - cd boost_1_${BOOST_VERSION}_0\r
19     - ./bootstrap.sh\r
20     - ./b2 --with-thread --with-atomic --with-date_time --with-system --with-timer --stagedir=stage64 --toolset=gcc address-model=64\r
21     - cd ..\r
22 \r
23 before_script: cd ./build\r
24 \r
25 script: ./build.sh -b 64 -j 4 -x ${CXX} -z '-Wall -Wextra -pedantic' --with-boost ../boost_1_${BOOST_VERSION}_0 -t test_hdr\r
26 \r
27 #after_success:\r
28 \r
29 #after_failure:\r
30 \r
31 after_script: cd ..\r
32 \r
33 # blacklist\r
34 branches:\r
35   except:\r
36     - integration\r
37 \r
38 # whitelist\r
39 branches:\r
40   only:\r
41     - master\r
42     - dev\r