Skip to content

Commit

Permalink
auto deployment of the snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchieGitHub committed Jul 5, 2015
1 parent 5f71655 commit 0dbcfa4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ jdk:
install:
- mvn install -DskipTests=true

script: mvn test
script:
- mvn test ; export MAVEN_RESULT=$?
- if [ "$MAVEN_RESULT" -ne 0 ]; then exit 1; fi
- mvn clean deploy --quiet --settings settings.xml ; export MAVEN_RESULT=$?

after_success:
- mvn clean test jacoco:report coveralls:report
Expand All @@ -14,4 +17,10 @@ after_success:
notifications:
email:
- richard.vannieuwenhoven@adesso.at
- elonen@iki.fi
- elonen@iki.fi

env:
global:
- secure: "OtD0z3y4/OjSzg8irVD8v/u0TElcw8AiCCXb7a0UQEnTpGxcf5DOdkvHv0hF4xjHKFtlMMHxevW+a4C4NuFR8it8ZJ/i2m24reB28JicDcRQY9nwV/BR/T08CRG9KDz5EuTHgfPJDF0y+5MiVNwJVhHFviBWKuXyIuYouJ5IHgc="
- secure: "tgTVycNLwYDM3U0EVK1TkffylQHfZihvSDC9QoZEo+wz9aBBLoAtUJP7DWltRQFOkfTeGltGHEfGM2/qkIG6Wz+hNFG/fveHqyI01JWXc64d7yBm7agaCP5uTtt2wjaZ7ZK5Mps5QoufblYu+j9gb2v31t9IdsJ9PUs0+wgE/WU="

15 changes: 15 additions & 0 deletions settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<settings>
<proxies>
</proxies>
<servers>
<server>
<id>sonatype-nexus-staging</id>
<username>${env.CI_DEPLOY_USERNAME}</username>
<password>${env.CI_DEPLOY_PASSWORD}</password>
</server>
</servers>
<mirrors>
</mirrors>
<profiles>
</profiles>
</settings>

0 comments on commit 0dbcfa4

Please sign in to comment.