From 3f6709cf7a665cf136e0b5581ce61c15e6ef0ff3 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 11:04:18 +0000 Subject: [PATCH] Changed travis yml file to only run the unit tests on the oracle 8 build --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index aadb181c4..f3a57facb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,11 @@ env: matrix: include: - jdk: oraclejdk8 - env: BUILD_CMD='ant -f build.xml' + install: + - "ant -f build.xml" + - "cd test" + - "ln -s $(pwd)/../etc/log4j.properties ." + script: ./RunDefaultUnitTests.sh | tee test.log && [ -z "$(grep 'Failures:\s[^0]\|Errors:\s[^0]' test.log)" ] cache: directories: - "${HOME}/dependencies" @@ -20,6 +24,3 @@ before_install: - "source install_dependencies.sh" install: - "$BUILD_CMD" - - "cd test" - - "ln -s $(pwd)/../etc/log4j.properties ." -script: ./RunDefaultUnitTests.sh | tee test.log && [ -z "$(grep 'Failures:\s[^0]\|Errors:\s[^0]' test.log)" ] -- GitLab