-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
45 lines (37 loc) · 1.38 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
43
44
45
language: scala
sudo: false
jdk:
- oraclejdk8
scala:
- 2.12.8
before_install:
- export LD_LIBRARY_PATH=$HOME/lib
- "./.travis/setup.sh"
script:
- sbt clean bloscJVM/coverageTest circe-utilsJVM/coverageTest cloudJVM/coverageTest convert/coverageTest ndarrayJVM/coverageTest netcdf/coverageTest singlecell/coverageTest slistJVM/coverageTest testingJVM/coverageTest utils/coverageTest xscalaJVM/coverageTest zarrJVM/coverageTest
- sbt -Dcoveralls.disable clean bloscJS/test circe-utilsJS/test cloudJS/test ndarrayJS/test slistJS/test testingJS/test xscalaJS/test zarrJS/test
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot/"
- "$HOME/.sbt/launchers/"
- "$HOME/.zinc"
- "$HOME/.coursier"
- "$HOME/lib"
after_success:
# work around https://github.com/codecov/codecov-bash/issues/133
- curl -s https://codecov.io/bash > .codecov
- sed -i -e 's/TRAVIS_.*_VERSION/^TRAVIS_.*_VERSION=/' .codecov
- chmod +x .codecov
- ./.codecov
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install
- npm install request jsdom
- node --version