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=

language: scala
scala:
- 2.11.4
jdk:
- openjdk7
sudo: false
cache:
  directories:
  - $HOME/.sbt
  - $HOME/.ivy2
script: sbt ++$TRAVIS_SCALA_VERSION test && find $HOME/.sbt -name "*.lock" -type f -delete && find $HOME/.ivy2/cache -name "*[\[\]\(\)]*.properties" -type f -delete
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=

Stop Travis dependency cache from being invalidated unnecessarily
Stop Travis dependency cache from being invalidated unnecessarily

Storing an updated build cache for this project takes around 2 minutes,
so we want to avoid any unnecessary cache-invalidation caused by spurious
file-changes.

Examples:

1. the timestamp being touched on the empty sbt .lock files:

    change detected: /home/travis/.sbt/boot/scala-2.10.4/org.scala-sbt/sbt/0.13.7/sbt.components.lock

2. version-ranged artifacts in Ivy (pure evil)

https://twitter.com/rtyley/status/545530331672371200

http://docs.travis-ci.com/user/build-configuration/#script
http://docs.travis-ci.com/user/languages/scala/#Default-Test-Command
