-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
40 lines (37 loc) · 1.06 KB
/
.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
# Use container-based infrastructure
sudo: required
dist: trusty
matrix:
include:
- language: scala
jdk: oraclejdk8
scala: 2.12.4
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
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
script:
- cp conf/logback-test.xml.template conf/logback-test.xml
- sbt ++$TRAVIS_SCALA_VERSION test:compile
- sbt ++$TRAVIS_SCALA_VERSION clean coverage "test"
after_success:
- sbt ++$TRAVIS_SCALA_VERSION coverageReport coveralls
- language: node_js
node_js:
- 6
cache:
directories:
- node_modules
script:
- npm install
- npm run test-coverage
after_success:
- cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js
branches:
only:
- master
- development