Skip to content

Commit

Permalink
Enable chaching for mvn dependencies in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Oct 4, 2016
1 parent 5b9f721 commit c1ff8c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ sudo: false
env:
- NODE_VERSION=4

cache:
directories:
- $HOME/.m2

before_install:
- 'if [[ -n "$DECRYPT_KEYPHRASE" ]]; then openssl aes-256-cbc -d -pass "env:DECRYPT_KEYPHRASE" -in .gnupg.tar.enc | tar xv; fi'
- 'if [[ ${TRAVIS_TAG} != "" ]]; then mvn versions:set -DnewVersion="${TRAVIS_TAG}"; fi'
Expand Down

0 comments on commit c1ff8c4

Please sign in to comment.