diff --git a/.travis.yml b/.travis.yml
index 8363b61..6ec9a54 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,5 +16,14 @@ cache:
os:
- linux
+branches:
+ except:
+ - gh-pages
+
sudo: false
-script: "mvn clean dependency:list test -P${PROFILE} -Dsort"
\ No newline at end of file
+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
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index e6a6c3c..1b01607 100644
--- a/pom.xml
+++ b/pom.xml
@@ -361,12 +361,12 @@
run
-
+
-
+
@@ -374,6 +374,7 @@
org.codehaus.mojo
build-helper-maven-plugin
+ 1.10
attach-zip