From 389f62145050c9b2c2373af08e76dfcac1060808 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Thu, 29 Aug 2019 16:00:48 +0300 Subject: [PATCH] CI + inspect tool fixes --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 363431a..1b6b529 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,13 +52,13 @@ matrix: sources: ubuntu-toolchain-r-test packages: g++-4.6 - - env: B2_ARGS='cxxstd=98,03,11,14,1z toolset=clang-5 cxxflags="--coverage -fsanitize=address,leak,undefined -fno-sanitize-recover=undefined -DBOOST_TRAVISCI_BUILD" linkflags="--coverage -fsanitize=address,leak,undefined"' - name: "Clang-5" + - env: B2_ARGS='cxxstd=98,03,11,14,1z toolset=clang-8 cxxflags="--coverage -fsanitize=address,leak,undefined -fno-sanitize-recover=undefined -DBOOST_TRAVISCI_BUILD" linkflags="--coverage -fsanitize=address,leak,undefined"' + name: "Clang-8" sudo: required # Required by leak sanitizer addons: apt: - sources: llvm-toolchain-trusty-5.0 - packages: clang-5.0 + sources: llvm-toolchain-trusty-8 + packages: clang-8 - env: B2_ARGS='cxxstd=03,11,14 toolset=clang-libc++ cxxflags="--coverage -fsanitize=undefined -fno-sanitize-recover=undefined -DBOOST_TRAVISCI_BUILD" linkflags="--coverage -fsanitize=undefined"' name: "Clang-3.8, libc++" @@ -85,13 +85,13 @@ before_install: - git clone -b $BOOST_BRANCH --depth 10 https://github.com/boostorg/boost.git $BOOST - cd $BOOST - git submodule update --init --depth 10 --jobs 2 tools/build tools/boostdep tools/inspect libs/filesystem + - python tools/boostdep/depinst/depinst.py --git_args "--depth 10 --jobs 2" $BOOST/libs/filesystem # Replacing Boost module with this project and installing Boost dependencies - echo "Testing $BOOST/libs/$BOOST_LIBS_FOLDER moved from $TRAVIS_BUILD_DIR, branch $BOOST_BRANCH" - rm -rf $BOOST/libs/$BOOST_LIBS_FOLDER || true - mv $TRAVIS_BUILD_DIR $BOOST/libs/$BOOST_LIBS_FOLDER - python tools/boostdep/depinst/depinst.py --git_args "--depth 10 --jobs 2" $BOOST_LIBS_FOLDER - - python tools/boostdep/depinst/depinst.py --git_args "--depth 10 --jobs 2" $BOOST/libs/filesystem - git status # Adding missing toolsets and preparing Boost headers @@ -106,7 +106,7 @@ before_install: echo "using clang : 5 : clang++-5.0 ;" >> ~/user-config.jam echo "using clang : 6 : clang++-6.0 ;" >> ~/user-config.jam echo "using clang : 7 : clang++-7.0 ;" >> ~/user-config.jam - echo "using clang : 8 : clang++-8.0 ;" >> ~/user-config.jam + echo "using clang : 8 : clang++-8 ;" >> ~/user-config.jam echo "using clang : libc++ : clang++-libc++ ;" >> ~/user-config.jam - cd $BOOST/libs/$BOOST_LIBS_FOLDER/test/