Skip to content

Commit

Permalink
Gradle build scans should only run on TravisCI, not on the other CI s…
Browse files Browse the repository at this point in the history
…ervices
  • Loading branch information
koppor authored and tobiasdiez committed Dec 10, 2016
1 parent 47af4f7 commit 18c240e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ before_script:
- mysql -u root -e 'create database jabref'

script:
- ./gradlew check
- ./gradlew databaseTest
- ./gradlew check -Dscan
- ./gradlew databaseTest -Dscan
# Prepare integration tests
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
Expand All @@ -41,7 +41,7 @@ script:
- sudo service sshguard stop
- sudo service ssh stop
# Integratation tests run in a timeout. Just start them and kill them after 60s
- timeout 60 ./gradlew integrationTest --info || true
- timeout 60 ./gradlew integrationTest -Dscan --info || true

after_script:
# enable codecov report
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ plugins {
buildScan {
licenseAgreementUrl = 'https://gradle.com/terms-of-service'
licenseAgree = 'yes'
publishAlways()
}

apply plugin: "java"
Expand Down

0 comments on commit 18c240e

Please sign in to comment.