forked from I2P_Developers/i2p.i2p
Move travis test runner script to own file so it's easier to work with
This commit is contained in:
@ -28,12 +28,7 @@ env:
|
|||||||
- SONAR_SCANNER_OPTS="-Xmx2048m"
|
- SONAR_SCANNER_OPTS="-Xmx2048m"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- travis_wait 45 ./tests/scripts/travis.sh
|
||||||
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk11" ]; then
|
|
||||||
./gradlew sonarqube codeCoverageReport -Dsonar.verbose=true
|
|
||||||
else
|
|
||||||
./gradlew check codeCoverageReport
|
|
||||||
fi
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
7
tests/scripts/travis.sh
Executable file
7
tests/scripts/travis.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk11" ]; then
|
||||||
|
./gradlew sonarqube codeCoverageReport -Dsonar.verbose=true
|
||||||
|
else
|
||||||
|
./gradlew check codeCoverageReport
|
||||||
|
fi
|
Reference in New Issue
Block a user