Permalink
Browse files

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.
  • Loading branch information...
1 parent 714185e commit a6e62c9342e75cca95a6225ca59630bd742105e4 @scottclowe scottclowe committed Feb 1, 2016
Showing with 1 addition and 2 deletions.
  1. +1 −2 .travis.yml
View
@@ -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

0 comments on commit a6e62c9

Please sign in to comment.