File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1
1
language : java
2
2
jdk :
3
- - openjdk8
3
+ - openjdk8
4
+ script :
5
+ - mvn clean test
6
+
7
+ cache :
8
+ directories :
9
+ - $HOME/.m2
10
+
11
+ deploy :
12
+ provider : script
13
+ script : .travis/release.sh
14
+ skip_cleanup : true
15
+ on :
16
+ tags : true
17
+ jdk : openjdk8
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ echo " Ensuring that pom matches $TRAVIS_TAG "
6
+ mvn org.codehaus.mojo:versions-maven-plugin:2.7:set -DnewVersion=$TRAVIS_TAG
7
+
8
+ echo " Uploading"
9
+ mvn deploy --settings .travis/settings.xml -DskipTests=true --batch-mode --update-snapshots -Prelease
Original file line number Diff line number Diff line change
1
+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0"
2
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0
4
+ http://maven.apache.org/xsd/settings-1.0.0.xsd" >
5
+ <servers >
6
+ <server >
7
+ <id >bintray-bliblidotcom-maven</id >
8
+ <username >${env.BINTRAY_USERNAME}</username >
9
+ <password >${env.BINTRAY_PASSWORD}</password >
10
+ </server >
11
+ </servers >
12
+
13
+ </settings >
You can’t perform that action at this time.
0 commit comments