forked from twitter/algebird
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
84 lines (73 loc) · 2.04 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
language: scala
sudo: false
matrix:
include:
- name: checks
scala: 2.11.12
jdk: openjdk8
script: sbt \
"; scalafmtCheckAll; scalafmtSbtCheck" \
"; scalafixEnable; scalafix --check; test:scalafix --check"
- scala: 2.11.12
jdk: openjdk8
script: sbt \
coverage \
"++$TRAVIS_SCALA_VERSION clean" \
"++$TRAVIS_SCALA_VERSION test" \
"++$TRAVIS_SCALA_VERSION coverageReport" \
"++$TRAVIS_SCALA_VERSION mimaReportBinaryIssues"
after_success:
- bash <(curl -s https://codecov.io/bash)
- scala: 2.11.12
jdk: openjdk11
script: sbt \
"++$TRAVIS_SCALA_VERSION clean" \
"++$TRAVIS_SCALA_VERSION test"
- scala: 2.12.9
jdk: openjdk8
script: sbt \
"++$TRAVIS_SCALA_VERSION clean" \
"++$TRAVIS_SCALA_VERSION test" \
"++$TRAVIS_SCALA_VERSION docs/makeMicrosite" \
"++$TRAVIS_SCALA_VERSION mimaReportBinaryIssues"
- scala: 2.12.9
jdk: openjdk11
script: sbt \
"++$TRAVIS_SCALA_VERSION clean" \
"++$TRAVIS_SCALA_VERSION test"
- scala: 2.13.1
jdk: openjdk8
script: sbt \
"++$TRAVIS_SCALA_VERSION clean" \
"++$TRAVIS_SCALA_VERSION test"
- scala: 2.13.1
jdk: openjdk11
script: sbt \
"++$TRAVIS_SCALA_VERSION clean" \
"++$TRAVIS_SCALA_VERSION test"
before_install:
- export PATH=${PATH}:./vendor/bundle
install:
- rvm use 2.6.1 --install --fuzzy
- gem update --system
- gem install sass
- gem install jekyll -v 3.2.1
cache:
directories:
- $HOME/.cache
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
- $HOME/.nvm
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
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/83f5f34730d7a004992f
on_success: change
on_failure: always
on_start: never