Skip to content

Commit

Permalink
Speeding up Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu authored Aug 3, 2019
1 parent a41c6c6 commit a0c8cf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ before_install:
fi
install:
- mvn install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
- mvn clean install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V

script:
- |
if [[ -z "${TRAVIS_TAG}" ]]; then
mvn clean deploy -Dmaven.deploy.skip=true -B -U -Pdebug
mvn deploy -Dmaven.deploy.skip=true -B -U -Pdebug
else
mvn clean deploy --settings .maven.xml -B -U -Prelease
mvn deploy --settings .maven.xml -B -U -Prelease
fi
before_deploy:
Expand Down Expand Up @@ -43,4 +43,4 @@ deploy:

cache:
directories:
- ~/.m2/repository
- ~/.m2/repository

0 comments on commit a0c8cf8

Please sign in to comment.