Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Commit

Permalink
add some travis settings as detailed on scala-sbt.org
Browse files Browse the repository at this point in the history
  • Loading branch information
duncancrawford committed Jul 22, 2015
1 parent 13be0ed commit eef3f45
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
sudo: false

language: scala
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/

scala:
- 2.11.7

jdk:
- oraclejdk7
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/


script:
- sbt ++$TRAVIS_SCALA_VERSION -J-XX:ReservedCodeCacheSize=256M test

# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm

0 comments on commit eef3f45

Please sign in to comment.