language: scala
scala:
- 2.11.4
jdk:
- openjdk7
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && sbt stage
  deployHeroku
env:
  global:
    secure: jEMZHOSfLoplIRsNV5b1G3a83I1lLaRxqrgxKExULAFFYglZRZjNV5EoJWllsaot/LyQZSWhJ42KiUVi8NVEn3pcBPB+Gq/QCjWvZRdJVloQUfiypCEqRRu1P45TkpqY7/Jz1q6xhLOC7G7+Lkf06t+gvTccNHh3l9xiJnxVV/k=

language: scala
scala:
- 2.11.4
jdk:
- openjdk7
sudo: false
cache:
  directories:
  - $HOME/.sbt
  - $HOME/.ivy2
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && sbt stage
  deployHeroku
env:
  global:
    secure: jEMZHOSfLoplIRsNV5b1G3a83I1lLaRxqrgxKExULAFFYglZRZjNV5EoJWllsaot/LyQZSWhJ42KiUVi8NVEn3pcBPB+Gq/QCjWvZRdJVloQUfiypCEqRRu1P45TkpqY7/Jz1q6xhLOC7G7+Lkf06t+gvTccNHh3l9xiJnxVV/k=

Enable dependency-caching between builds in Travis
Enable dependency-caching between builds in Travis

Here we're caching the .sbt & .ivy2 directories, both used for an SBT
build. This is based off the new docker-caching feature.

http://docs.travis-ci.com/user/workers/container-based-infrastructure/#Routing-your-build-to-container-based-infrastructure
http://docs.travis-ci.com/user/caching/#Arbitrary-directories
