diff --git a/travis-ci/travis-coveralls-report.sh b/travis-ci/travis-coveralls-report.sh index 8411ecb..5ef727d 100755 --- a/travis-ci/travis-coveralls-report.sh +++ b/travis-ci/travis-coveralls-report.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -echo "TRAVIS: $TRAVIS" -set -if [ "$TRAVIS" = "true" ];then +## Only send coveralls reports from Travis-CI. Some CIs, like Shippable, lie by setting TRAVIS=true. +## Currently, Shippable, does not set TRAVIS_LANGUAGE, but Travis-CI does. +if [ "$TRAVIS_LANGUAGE" = "java" ];then ./mvnw --projects builder,plugin test jacoco:report coveralls:report fi