forked from http4s/blaze
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (33 loc) · 984 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
language: scala
scala:
- 2.12.3
- 2.11.11
- 2.10.6
jdk:
- oraclejdk8
env:
global:
secure: GFb3iprmlEb7iy5kA2vCdEMgxMOrWrSPnzLMoU9bCase/5UvNXp0quHzwDlLO9oqj2x+VRBRgJNngYyGB5HU0sRjlvgd2FXAwb5xn3LvGHHJB+j0oVxaYO2DuMeRG9MWuds+IN9EPbmbv36lFHc5NzZZG2ZI9v5+wAJjnCy8QOQ=
before_script: sudo chmod +x /usr/local/bin/sbt # Temporary Fix For https://github.com/travis-ci/travis-ci/issues/7703
script: sbt ++$TRAVIS_SCALA_VERSION test
cache:
directories:
- "$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
jobs:
include:
- &publish
stage: Publish
scala: 2.12.3
script: ./travis-scripts/deploy.sh
- <<: *publish
scala: 2.11.11
script: ./travis-scripts/deploy.sh
- <<: *publish
scala: 2.10.6
script: ./travis-scripts/deploy.sh