-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
47 lines (39 loc) · 1020 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
35
36
37
38
39
40
41
42
43
44
45
46
47
language: scala
scala:
- 2.13.3
jdk:
- oraclejdk11
env:
- NODE_VERSION="12.6.0"
before_install:
- nvm install $NODE_VERSION
cache:
directories:
- $HOME/.sbt/1.0/dependency
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.m2
- $HOME/.ivy2/cache
- $HOME/.coursier
- $HOME/.nvm
before_cache:
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
- rm -rf $HOME/.ivy2/local
script:
- sbt ++$TRAVIS_SCALA_VERSION test
- npm install -g decktape
- sbt slides/mdoc
- travis_wait bin/gen-pdf.sh -f "*.html"
- travis_wait bin/gen-pdf.sh -f "value-functions/*.html"
- travis_wait bin/gen-pdf.sh -f "generic-functions/*.html"
- travis_wait bin/gen-pdf.sh -f "data-processing/*.html"
- travis_wait bin/gen-pdf.sh -f "bonus/*.html"
deploy:
provider: pages
local_dir: docs/
skip_cleanup: true
github_token: $GH_TOKEN
on:
branch: master
condition: $TRAVIS_PULL_REQUEST="false"