From d17ff58b66ca95a21e71235f1542645fe3e3edb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Ckpepper=E2=80=9D?= <kp11@sanger.ac.uk> Date: Mon, 29 Jan 2018 14:10:04 +0000 Subject: [PATCH] travis yml change --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a8e6835c..549fc05da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,8 @@ before_install: install: - "$BUILD_CMD" script: - - test $RUN_TESTS = true \ - && cd test \ - && ln -s $(pwd)/../etc/log4j.properties . \ - && ./RunDefaultUnitTests.sh | tee test.log && [ -z "$(grep 'Failures:\s[^0]\|Errors:\s[^0]' test.log)" ] + - if [ "$RUN_TESTS" == "true" ]; then + cd test; + ln -s $(pwd)/../etc/log4j.properties .; + ./RunDefaultUnitTests.sh | tee test.log && [ -z "$(grep 'Failures:\s[^0]\|Errors:\s[^0]' test.log)" ]; + fi -- GitLab