Skip to content

Commit

Permalink
Updated travis config & moved Maven OSS properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
conor10 committed Sep 11, 2017
1 parent 2a1d69e commit 9948adb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cache:

# Don't run integrationTests as they require a live Ethereum client to be running
# Add --info to view details of test failures
script: ./gradlew --info -x integrationTest check jacocoTestReport
script: ./gradlew --info check jacocoTestReport

# Upload code coverage metrics
after_success:
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ allprojects {
archives sourcesJar, javadocJar, testJar
}

ext {
ossrhUsername = project.hasProperty('ossrhUsername') ? project.property('ossrhUsername') : ''
ossrhPassword = project.hasProperty('ossrhPassword') ? project.property('ossrhPassword') : ''
}

publishing {
publications {
mavenJava(MavenPublication) {
Expand Down Expand Up @@ -199,11 +204,6 @@ dependencies {
compile project(':console')
}

ext {
ossrhUsername = project.hasProperty('ossrhUsername') ? project.property('ossrhUsername') : ''
ossrhPassword = project.hasProperty('ossrhPassword') ? project.property('ossrhPassword') : ''
}

repositories {
mavenCentral()
jcenter() // Shadow resides on JCenter
Expand Down

0 comments on commit 9948adb

Please sign in to comment.