diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-03 22:16:47 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-03 23:40:16 +0300 |
commit | fb4ab84491922fca38ba1e533882857e4e3737a6 (patch) | |
tree | b0e494e065f06435c8bf32b63d1365e96c755392 | |
parent | cb9344cb8d32641aa2db11709db0ce89a5525c8c (diff) | |
download | meson-fb4ab84491922fca38ba1e533882857e4e3737a6.zip meson-fb4ab84491922fca38ba1e533882857e4e3737a6.tar.gz meson-fb4ab84491922fca38ba1e533882857e4e3737a6.tar.bz2 |
Use && to ensure failed test run is flagged properly.
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index fb86292..724f9ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ script: ci_env=`bash <(curl -s https://codecov.io/env)` docker run $ci_env -v ${PWD}/.coverage:/root/.coverage \ withgit \ - /bin/sh -c "cd /root && CC=$CC CXX=$CXX OBJC=$CC OBJCXX=$CXX ./run_tests.py --cov -- $MESON_ARGS; chmod -R a+rwX .coverage" + /bin/sh -c "cd /root && CC=$CC CXX=$CXX OBJC=$CC OBJCXX=$CXX ./run_tests.py --cov -- $MESON_ARGS && chmod -R a+rwX .coverage" fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then SDKROOT=$(xcodebuild -version -sdk macosx Path) OBJC=$CC OBJCXX=$CXX ./run_tests.py --cov --backend=ninja -- $MESON_ARGS ; fi |