From add1f035532a51c360f8461c161406ad94004f29 Mon Sep 17 00:00:00 2001 From: khizmax Date: Thu, 5 Mar 2015 15:21:22 +0300 Subject: [PATCH] Added boost download for travis-ci --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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: -- 2.34.1