-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (35 loc) · 981 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
# Use container-based infrastructure
dist: trusty
sudo: false
# These directories are cached to S3 at the end of the build
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot/"
addons:
apt:
packages:
- graphviz
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
- nvm install stable
- nvm use stable
- npm install
- npm install [email protected]
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
jdk:
- oraclejdk8
# For TRAVIS_NODE_VERSION, look for the LTS version of node here: https://nodejs.org/en/download/
env:
global:
- CI=true
- TRAVIS_NODE_VERSION="8.9.1"
language: scala
scala:
- 2.11.8
script:
- ./scripts/travis-build.sh
- ./scripts/travis-deploy.sh