-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (31 loc) · 939 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
language: scala
sudo: required
dist: trusty
group: edge
matrix:
include:
# Scala 2.11 — JVM
# - jdk: oraclejdk8
# scala: 2.11.12
# env: COMMAND=test
# Scala 2.12 — JVM — all tests
- jdk: oraclejdk8
scala: 2.12.6
env: COMMAND=test
env:
global:
- TRAVIS_NODE_VERSION="8.9" # LTS
# http://austinpray.com/ops/2015/09/20/change-travis-node-version.html
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
script:
- export SBT_PROFILE=$COVERAGE
- sbt -J-Xmx6144m ++$TRAVIS_SCALA_VERSION $COMMAND
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.coursier/cache
- $HOME/.sbt
before_cache:
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete