-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
31 lines (31 loc) · 2.73 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
sudo: required
dist: trusty
before_cache:
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt"
language: scala
jdk:
- oraclejdk8
stages:
- test
- name: release
if: tag =~ ^v
- name: snapshot
if: (NOT tag IS present) AND (type = push)
jobs:
include:
- stage: test
script: sbt +test
- stage: release
script: openssl aes-256-cbc -K $encrypted_0b06728b1ded_key -iv $encrypted_0b06728b1ded_iv -in ci/secring.asc.enc -out ci/secring.asc -d && gpg --import ci/secring.asc && sbt +publishSigned sonatypeBundleRelease
- stage: snapshot
script: sbt +publish
env:
global:
- secure: AlMkKVnCnIAFPZNx2oLsZst/J8AH9oZ5k+3ikXLODKSDIUeD1mRxmtSkFbvYX6xzbL910jIgrRwjnRtM5XI3eNA5YcMnHwX8/7MJM1bqktFFnkPS2xjxWS8fzxAsFQrXrgdfMr/sNW9GgYd9J++jA8hAVy/PBfx7Ybg3zQUdyJI0szYkM3HS7Y1DKM+q4QjWec5FH5MjRZYM9fnE1yxDDKsNUyyZaI7lPOvWqilKwe4I4PhOpBOxLcUpjrqPWkJYjCJMhkOvCVNjiqBZ/WJyiqf8sSyMTxf5S6lNPAQMNoAB2310G4+0Cgagdknv2XsEntdLAk8t732fEuXRjqVHxtQYQDNrQi3QQ3pIqqfsJM4lOCRMYYTvo+NWEpao52HAbBiRMIpzx/xFTZD9ETuNUKneJZMmHcoLJlUCN83r+k4JLk1dDFlFrqnb/e7XFNzwdCsNAzbPjWcIkspYD/Puobb9cYAKdjyfARLtL/SCJSgYOrHI7zo9MU2yKBtGDCmuTjPcKIDPFUl3w716r1jWxozlRnH4DZX/gaw7QbuFe0iPfUwa9+Rztb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