KCR29: travis-ci: detect Travis-CI
This commit is contained in:
parent
dd17826a60
commit
7229c11b30
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo "TRAVIS: $TRAVIS"
|
## Only send coveralls reports from Travis-CI. Some CIs, like Shippable, lie by setting TRAVIS=true.
|
||||||
set
|
## Currently, Shippable, does not set TRAVIS_LANGUAGE, but Travis-CI does.
|
||||||
if [ "$TRAVIS" = "true" ];then
|
if [ "$TRAVIS_LANGUAGE" = "java" ];then
|
||||||
./mvnw --projects builder,plugin test jacoco:report coveralls:report
|
./mvnw --projects builder,plugin test jacoco:report coveralls:report
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue