From a6e62c9342e75cca95a6225ca59630bd742105e4 Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Mon, 1 Feb 2016 17:39:17 +0000 Subject: [PATCH] BLD: Only run tests once on Shippable Since the environment variable TRAVIS is set to "true" on Shippable, the command for Travis-CI should only be run if the SHIPPABLE value is not "true". Otherwise tests are run twice on Shippable. --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0cd6b4e..bfd9623 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,8 +33,7 @@ before_install: script: - if [[ "$SHIPPABLE" == "true" ]]; then make test JUNIT_XML=../MOcov/shippable/testresults/testresults.xml; - fi - - if [[ "$TRAVIS" == "true" ]]; then + elif [[ "$TRAVIS" == "true" ]]; then make test; fi