Add .travis.yml
This commit is contained in:
parent
fdbc6b054b
commit
2d74299adc
9
.travis-settings.xml
Normal file
9
.travis-settings.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<settings>
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>sonatype-nexus-snapshots</id>
|
||||||
|
<username>${env.SONATYPE_USERNAME}</username>
|
||||||
|
<password>${env.SONATYPE_PASSWORD}</password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
</settings>
|
10
.travis.yml
Normal file
10
.travis.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
language: java
|
||||||
|
jdk:
|
||||||
|
- openjdk8
|
||||||
|
- oraclejdk8
|
||||||
|
- oraclejdk9
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- if [[ "${TRAVIS_JDK_VERSION}" == 'openjdk8' ]]; then
|
||||||
|
mvn deploy --settings .travis-settings.xml -DskipTests=true -B || travis_terminate 1;
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user