From: khizmax Date: Thu, 5 Mar 2015 12:21:22 +0000 (+0300) Subject: Added boost download for travis-ci X-Git-Tag: v2.1.0~305^2~30 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=add1f035532a51c360f8461c161406ad94004f29;p=libcds.git Added boost download for travis-ci --- diff --git a/.travis.yml b/.travis.yml index 76345bb2..1cf4c59b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,16 +5,24 @@ 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 install: - sudo apt-get install -qq g++-4.8 - export CXX="g++-4.8" + - export BOOST_VERSION="57" + - 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 address-model=64 + - cd .. before_script: cd ./build -script: ./build.sh -b 64 -j 4 -x ${CXX} -z '-Wall -Wextra -pedantic' -t test_hdr +script: ./build.sh -b 64 -j 4 -x ${CXX} -z '-Wall -Wextra -pedantic' --with-boost ../boost_1_${BOOST_VERSION}_0 -t test_hdr #after_success: