forked from cakesolutions/scala-kafka-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (20 loc) · 618 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: scala
jdk: oraclejdk8
scala:
- 2.11.12
- 2.12.6
script:
- sbt ++$TRAVIS_SCALA_VERSION -Dakka.test.timefactor=5 clean coverage test coverageReport
- sbt coverageAggregate
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && sbt updateImpactSubmit || true'
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $HOME/.sbt
- $HOME/.ivy2
- $HOME/.m2
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