Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 573 Bytes
language: scala
scala:
- 2.11.12
- 2.12.7
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
- $HOME/.coursier
install:
- pip install --user codecov
script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage validateJVM coverageReport &&
sbt ++$TRAVIS_SCALA_VERSION coverageAggregate &&
codecov;
# See http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm