forked from japgolly/scalajs-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 941 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
language: scala
sudo: false
scala:
- 2.11.12
- 2.12.6
jdk:
- oraclejdk8
install:
- . $HOME/.nvm/nvm.sh
- nvm install 7
- nvm use 7
- export NODE_PATH="$(npm config get prefix)"/lib/node_modules
- npm install
- npm install jsdom source-map-support
script:
- sbt ++$TRAVIS_SCALA_VERSION test:fastOptJS test:fullOptJS
- sbt ++$TRAVIS_SCALA_VERSION 'set parallelExecution in ThisBuild := false' test
- sbt ++$TRAVIS_SCALA_VERSION 'set parallelExecution in ThisBuild := false' 'set scalaJSStage in ThisBuild := FullOptStage' test
- bin/checkDevOnly $TRAVIS_SCALA_VERSION
# Taken from https://github.com/typelevel/cats/blob/master/.travis.yml
before_cache:
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
cache:
directories:
- $HOME/.sbt/0.13/dependency
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache