Skip to content

Commit 439b4a4

Browse files
authored
Merge pull request biojava#648 from andreasprlic/travis4snapshotbuilds
set up Travis CI to create snapshot releases to OSS Sonatype
2 parents 885b026 + e723fa0 commit 439b4a4

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@ language: java
22
jdk:
33
- oraclejdk8
44
sudo: false
5-
#after_success:
5+
6+
env:
7+
global:
8+
- SONATYPE_USERNAME=andreas.prlic
9+
- secure: "dyPI9ho1rYmWgiSQ188IM9qDshDY+RRiNxV1ZVzRhRW1hAQpSve6H/Peq6xCnSxR9FnUEIZkm7in8RLCV2fv18ELNuHhuKOMvVd0WN7kxiygyw0dzL66Ub7PBfTOvR75gs1wYoUg3oIDQtlLmHsWhUfS6Bbc0cQwuFK4EkVd9UE="
10+
11+
12+
after_success:
13+
- mvn deploy --settings travis-settings.xml -DskipTests=true -B
614
# - mvn clean cobertura:cobertura coveralls:report

travis-settings.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- travis-settings.xml for auto-deploy of SNAPSHOT builds using Travis-CI -->
2+
<servers>
3+
<server>
4+
<!-- Maven Central Deployment -->
5+
<id>ossrh</id>
6+
<username>${env.SONATYPE_USERNAME}</username>
7+
<password>${env.SONATYPE_PASSWORD}</password>
8+
</server>
9+
</servers>

0 commit comments

Comments
 (0)