travis: pass $TRAVIS when running the tests so that they can be skipped properly
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 24 Dec 2018 03:44:47 +0000 (04:44 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sat, 29 Dec 2018 18:14:35 +0000 (19:14 +0100)
travis-ci/managers/debian.sh

index 587049b..dbd12c4 100755 (executable)
@@ -46,7 +46,7 @@ for phase in "${PHASES[@]}"; do
             fi
             docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dsplit-usr=true build
             $DOCKER_EXEC ninja -v -C build
-            $DOCKER_EXEC ninja -C build test
+            docker exec -e "TRAVIS=$TRAVIS" -it $CONT_NAME ninja -C build test
             $DOCKER_EXEC tools/check-directives.sh
             ;;
         RUN_ASAN|RUN_CLANG_ASAN)