forked from softwaremill/sttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 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
language: scala
addons:
chrome: stable
jdk:
- oraclejdk8
scala:
- 2.12.8
- 2.11.12
- 2.13.0
before_cache:
- du -h -d 1 $HOME/.ivy2/
- du -h -d 2 $HOME/.sbt/
- du -h -d 4 $HOME/.coursier/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
- find $HOME/.coursier/cache -name "*.lock" -type f -delete
cache:
directories:
- $HOME/.sbt/1.0
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/cache
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
- $HOME/.coursier
before_install:
- bash project/travis_setup.sh
before_script:
- nvm install 10 # nodejs < 10 fails finding URL class
- version=$(curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE) &&
wget "https://chromedriver.storage.googleapis.com/$version/chromedriver_linux64.zip"
- mkdir -p chromedriver && unzip chromedriver_linux64.zip -d chromedriver/
- export PATH="$PATH:$PWD/chromedriver/"
script:
- sbt ++$TRAVIS_SCALA_VERSION rootJVM/test &&
xvfb-run sbt ++$TRAVIS_SCALA_VERSION rootJS/test &&
sbt rootNative/test