X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=.travis.yml;h=f230fe023a111776e4e0b50d222bd60af4cf39f7;hp=1e72fb3afde9edcb8cfef358d9cb27bd791bf370;hb=7670a24f6fb3df26a9edf7bd1be9d2ee9a1382f6;hpb=5109d49f742fb4c46ab6016b4783f6b9e14e148f diff --git a/.travis.yml b/.travis.yml index 1e72fb3a..f230fe02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,16 +5,25 @@ compiler: g++ # - 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++-4.8 - - export CXX="g++-4.8" + - 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 4 -x ${CXX} -z '-std=c++0x -Wall -Wextra -pedantic' -t test_hdr +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: @@ -23,12 +32,13 @@ script: ./build.sh -b 64 -j 4 -x ${CXX} -z '-std=c++0x -Wall -Wextra -pedantic' after_script: cd .. # blacklist -branches: - except: - - integration +#branches: +# except: +# - integration # whitelist branches: only: - master - dev + - integration