forked from akka-js/akka.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1.62 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
41
42
language: scala
scala:
- 2.12.13
- 2.13.2
sudo: false
jdk:
- openjdk8
env:
- TRAVIS_NODE_VERSION="10.17.0"
- TRAVIS_NODE_VERSION="12.13.1"
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
- npm install
script:
- sbt ++$TRAVIS_SCALA_VERSION clean
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts assembleAkkaLibrary
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts test:compile
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts test:fastOptJS
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts akkaJsTestkitJS/test
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts akkaActorTestJS/test
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts akkaJsStreamTestkitJS/test
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts akkaStreamTestJS/test
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts akkaJsTypedTestkitJS/test
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts akkaTypedTestJS/test
- sbt ++$TRAVIS_SCALA_VERSION -jvm-opts travis/jvmopts akkaJsActorStreamTypedJS/test
# Tricks to avoid unnecessary cache updates, from
# http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
- find $HOME/.sbt -name "*.lock" | xargs rm | true
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm | true
- find $HOME/.cache -name "*.lock" | xargs rm | true
- find $HOME/.cache -name "ivydata-*.properties" | xargs rm | true
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
- $HOME/.cache/