Deploy master commits
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -16,5 +16,14 @@ cache:
|
||||
os:
|
||||
- linux
|
||||
|
||||
branches:
|
||||
except:
|
||||
- gh-pages
|
||||
|
||||
sudo: false
|
||||
script: "mvn clean dependency:list test -P${PROFILE} -Dsort"
|
||||
script:
|
||||
- if [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ]; then
|
||||
- mvn -Pdistribute,snapshot,docs clean deploy
|
||||
- else
|
||||
- mvn clean dependency:list test -P${PROFILE} -Dsort
|
||||
- fi
|
||||
5
pom.xml
5
pom.xml
@@ -361,12 +361,12 @@
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<tasks>
|
||||
<zip destfile="${project.build.directory}/${project.artifactId}-${project.version}.zip">
|
||||
<zipfileset src="${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar" prefix="api" />
|
||||
<fileset dir="${project.build.directory}/content"/>
|
||||
</zip>
|
||||
</target>
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
@@ -374,6 +374,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.10</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-zip</id>
|
||||
|
||||
Reference in New Issue
Block a user