Added _ENABLE_ATOMIC_ALIGNMENT_FIX preprocessor definition for VC 14.2
[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     - export GCC_VERSION=4.9\r
12     - export BOOST_VERSION=57\r
13 \r
14 install:\r
15     - sudo apt-get install -qq g++-${GCC_VERSION}\r
16     - export CXX="g++-${GCC_VERSION}"\r
17     - 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
18     - tar xjf boost_1_${BOOST_VERSION}_0.tar.bz2\r
19     - cd boost_1_${BOOST_VERSION}_0\r
20     - ./bootstrap.sh\r
21     - ./b2 --with-thread --with-atomic --with-date_time --with-system --with-timer --stagedir=stage64 --toolset=gcc-${GCC_VERSION} address-model=64\r
22     - cd ..\r
23 \r
24 before_script: cd ./build\r
25 \r
26 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\r
27 \r
28 #after_success:\r
29 \r
30 #after_failure:\r
31 \r
32 after_script: cd ..\r
33 \r
34 # blacklist\r
35 #branches:\r
36 #  except:\r
37 #    - integration\r
38 \r
39 # whitelist\r
40 branches:\r
41   only:\r
42     - master\r
43     - dev\r
44     - integration\r