-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
31 lines (28 loc) · 1.01 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
language: scala
scala:
- 2.11.11-bin-typelevel-4
jdk:
- openjdk8
# See https://github.com/scala-js/scala-js/issues/2642
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install
- npm install jsdom
- curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
# See https://github.com/scala-js/scala-js/issues/2642
script:
sbt 'set parallelExecution in ThisBuild := false' pineJVM2_11/test pineNative2_11/test pineJS2_12/test pineJVM2_12/test pineJS2_13/test pineJVM2_13/test
# From http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
# Use container-based infrastructure
sudo: false
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
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