-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (35 loc) · 938 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Travis Configuration File
# See http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
# See http://docs.travis-ci.com/
# Ensure we get a container-based build
sudo: false
# Our primary language is scala
language: scala
node_js:
- "4.1"
# The version of scala we use in our build
scala:
- "2.11.7"
# Right now we only use JDK 8
jdk:
- oraclejdk8
env:
global:
JAVA_OPTS=-Xmx3g
# How to run the build. Note the use of scoverage commands
script:
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 clean coverage test coverageAggregate
# What to cache between builds (speeds up next build)
cache:
directories:
- $HOME/.ivy2
# Whenw e are done,
after_success:
- sbt coveralls
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
notifications:
email:
recipients:
secure: travis_encrypt_broken