From 7c24d232e30816e4dfe4684201dd3cf8a6ebfdeb Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 9 Oct 2016 09:27:29 -0400 Subject: [PATCH] Fix merge (#1198) fix merge from RC_1_1 --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3e8e98b85..ad836297d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: cpp matrix: include: - env: variant=test_release coverage=1 toolset=gcc-coverage - - env: variant=test_debug sim=1 ssl=openssl crypto=libcrypto toolset=ubsan + - env: variant=test_debug sim=1 ssl=openssl crypto=libcrypto toolset=gcc-ubsan - env: variant=test_barebones toolset=gcc - env: autotools=1 toolset=gcc - os: osx @@ -64,7 +64,7 @@ before_install: - if [ "$coverage" == "1" ]; then pip install --user codecov; fi - - 'if [[ $lang == "ubsan" ]]; then export test_args=testing.arg="--no-stderr-redirect"; fi' + - 'if [[ $toolset == "gcc-ubsan" ]]; then export test_args=testing.arg="--no-stderr-redirect"; fi' - 'echo "toolset: " ${toolset}' - 'echo "coverage_toolset: " ${coverage_toolset}' - 'echo "variant: " ${variant}' @@ -94,7 +94,7 @@ install: # we're building with -Werror, we can't have those warnings - 'if [[ "$variant" != "" ]]; then ccache -V && ccache --show-stats && ccache --zero-stats; fi' - - 'if [ $arch == "arm" ]; then + - 'if [[ "$arch" == "arm" ]]; then cd test; wget -O gcc-linaro.tar.xz https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/armv8l-linux-gnueabihf/gcc-linaro-5.3.1-2016.05-x86_64_armv8l-linux-gnueabihf.tar.xz; tar xf gcc-linaro.tar.xz; @@ -124,7 +124,7 @@ script: # libtorrent is the name of the test suite target - cd test - 'if [ "$variant" != "" ]; then - travis_retry bjam -j3 warnings-as-errors=on ssl=$ssl crypto=$crypto debug-iterators=on picker-debugging=on invariant-checks=full $toolset variant=$variant libtorrent test_natpmp enum_if -l300 && + travis_retry bjam -j3 warnings-as-errors=on ssl=$ssl crypto=$crypto debug-iterators=on picker-debugging=on invariant-checks=full $toolset variant=$variant $test_args libtorrent test_natpmp enum_if -l300 && if [ "$coverage" == "1" ]; then codecov --root .. --gcov-exec gcov-5; fi; @@ -151,7 +151,7 @@ script: fi' - cd bindings/python - - 'if [[ "$lang" != "ubsan" && "$variant" != "" ]]; then + - 'if [[ "$toolset" != "gcc-ubsan" && "$variant" != "" ]]; then bjam -j3 warnings-as-errors=on ssl=$ssl crypto=$crypto debug-iterators=on picker-debugging=on invariant-checks=full $toolset variant=$variant stage_module libtorrent-link=shared install-type=LIB dll-path=../../lib && LD_LIBRARY_PATH=../../lib DYLD_LIBRARY_PATH=../../lib python test.py; fi' @@ -160,7 +160,7 @@ script: # simulation - cd simulation - 'if [[ "$variant" != "" && "$sim" == "1" ]]; then - bjam -j2 crypto=built-in ssl=off warnings-as-errors=on debug-iterators=on picker-debugging=on invariant-checks=full $toolset; + bjam -j2 crypto=built-in ssl=off warnings-as-errors=on debug-iterators=on picker-debugging=on invariant-checks=full $test_args $toolset; fi' - cd .. @@ -177,7 +177,7 @@ script: - 'if [[ "$variant" != "" ]]; then ccache --show-stats; fi' - cd test - - 'if [ $arch == "arm" ]; + - 'if [[ "$arch" == "arm" ]]; then bjam arm-tests warnings-as-errors=on ssl=$ssl crypto=$crypto variant=test_arm $toolset target-os=linux link=static testing.launcher="sudo cp -R bin rootfs/; sudo chroot rootfs"; fi'