Skip to content

Commit

Permalink
Merge pull request #163 from retronym/topic/travis-cache
Browse files Browse the repository at this point in the history
Adopt best practices in Travis Build
  • Loading branch information
retronym authored Jun 18, 2019
2 parents ce670e4 + 9b4c741 commit b8e5758
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@ sudo: false
language: scala
script: sbt '; extras/publishLocal; project plugin; ^scripted'
jdk:
- oraclejdk8
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete

0 comments on commit b8e5758

Please sign in to comment.