Skip to content

Commit

Permalink
Turning off tests to test the snapshot deployment on travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboygneox committed Apr 14, 2016
1 parent e101dac commit ffef1fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Expand Up @@ -5,10 +5,6 @@ global:
env:
- TERM=dumb
script:
- jdk_switcher use oraclejdk8
- ./gradlew --info clean build
- jdk_switcher use oraclejdk7
- ./gradlew --info clean build
after_success:
- "[[ $TRAVIS_BRANCH == \"master\" ]] && { ./gradlew uploadArchives; };"
notifications:
Expand Down
2 changes: 1 addition & 1 deletion gradle/publish.gradle
Expand Up @@ -45,7 +45,7 @@ uploadArchives {
ossrhPassword = System.getenv()['SONATYPE_PASSWORD']
}

if (project.hasProperty("ossrhUsername") && project.hasProperty("ossrhPassword")) {
if (ossrhUsername != null && ossrhPassword != null) {
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
Expand Down

0 comments on commit ffef1fc

Please sign in to comment.