Skip to content

Commit

Permalink
cleanup travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoberstar committed Dec 15, 2016
1 parent e909853 commit 84b827d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ language: java
sudo: false
install: ""
script: ./travis.sh
branches:
only:
- master
jdk:
- oraclejdk8
cache:
Expand Down
2 changes: 1 addition & 1 deletion travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ elif [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ -n "${GITHUB_TOKEN:-}" ]; then
-Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \
-Dsonar.github.repository=$TRAVIS_REPO_SLUG \
-Dsonar.github.oauth=$GITHUB_TOKEN \
-Dsonar.analysis.mode=issues
-Dsonar.analysis.mode=preview
else
echo 'Running Gradle check without SonarQube analysis'
./gradlew clean check
Expand Down

0 comments on commit 84b827d

Please sign in to comment.