Skip to content

Commit

Permalink
Do not run sonarqube on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jul 25, 2017
1 parent a916055 commit ca862e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -45,7 +45,7 @@ after_success:
- ./update-gh-pages.sh
- for report in `find ./subprojects -name "jacocoTestReport.xml" -print`; do rm -f $report ; done
- for report in `find ./samples -name "jacocoTestReport.xml" -print`; do rm -f $report; done
- ./gradlew --no-daemon coveralls sonarqube
- ./gradlew --no-daemon coveralls
- bash <(curl -s https://codecov.io/bash)
after_failure:
- ./update-gh-pages.sh
Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Expand Up @@ -193,6 +193,10 @@ subprojects { subproj ->
subproj.apply from: rootProject.file('gradle/publish.gradle')
subproj.apply from: rootProject.file('gradle/code-quality.gradle')

sonarqube {
skipProject = !subproj.publishJars.toBoolean()
}

if (subproj.publishJars.toBoolean()) {
if (subproj.name.startsWith('griffon-')) {
subproj.apply plugin: 'org.kordamp.gradle.clirr'
Expand Down

0 comments on commit ca862e4

Please sign in to comment.