-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
46 lines (37 loc) · 1.2 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
46
language: scala
scala:
- 2.12.10
jdk:
- openjdk8
cache:
directories:
- $HOME/.sbt/1.0/dependency
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
before_cache:
- du -h -d 1 $HOME/.ivy2/cache
- du -h -d 2 $HOME/.sbt/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
before_install:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then bash scripts/decrypt-keys.sh; fi
- export PATH=${PATH}:./vendor/bundle
install:
- rvm use 2.6.0 --install --fuzzy
- yes | gem update --system
- gem install sass
- gem install jekyll -v 3.8.5
script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test coverageReport docs/makeMicrosite
after_success:
- bash <(curl -s https://codecov.io/bash)
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then bash scripts/publishMicrosite.sh; fi
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then echo "Not in master branch, skipping deploy and release"; fi
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d54a74117bc77b928e1f
on_success: change
on_failure: always
on_start: never