Skip to content
This repository was archived by the owner on Jun 29, 2018. It is now read-only.

Commit d90e664

Browse files
committed
Deploy snapshot builds to sonatype-repo
1 parent 71c1f1e commit d90e664

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ before_install:
55
- "export DISPLAY=:99.0"
66
- "sh -e /etc/init.d/xvfb start"
77

8-
script: mvn clean install
8+
script: mvn clean verify
99

1010
after_success:
1111
- mvn jacoco:report coveralls:report
12+
- "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_TAG} == '' ]] && mvn deploy -DreposityId=sonatype-nexus-snapshots -DskipTests --settings deploy-settings.xml"

deploy-settings.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<settings>
2+
<servers>
3+
<server>
4+
<id>ossrh</id>
5+
<username>${env.OSSRH_USER}</username>
6+
<password>${env.OSSRH_PASS}</password>
7+
</server>
8+
</servers>
9+
</settings>

0 commit comments

Comments
 (0)