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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue