-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 939 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
language: scala
jdk: openjdk8
scala:
- 2.12.11
jobs:
include:
- stage: test
script: sbt test
- script: sbt scripted
- stage: publish
script: skip
before_deploy:
#- openssl aes-256-cbc -K $encrypted_4a09436dfeda_key -iv $encrypted_4a09436dfeda_iv -in travis/key.asc.enc -out travis/key.asc -d
deploy:
provider: script
script: sbt githubRelease publish
skip_cleanup: true
on:
tags: true
branch: master
# For the latest instructions on caching sbt builds on Travis CI see:
# https://www.scala-sbt.org/1.x/docs/Travis-CI-with-sbt.html#Caching
before_cache:
- rm -fv "$HOME/.ivy2/.sbt.ivy.lock"
- find "$HOME/.ivy2/cache" -name "ivydata-*.properties" -print -delete
- find "$HOME/.sbt" -name "*.lock" -print -delete
cache:
directories:
- "$HOME/.cache/coursier"
- "$HOME/.ivy2/cache"
- "$HOME/.sbt"