This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
51 lines (41 loc) · 3.19 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
dist: bionic
language: scala
scala:
- "2.12.12"
jdk: oraclejdk11
cache:
directories:
- $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION
- $HOME/.ivy2/cache
- $HOME/.sbt/launchers
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
install:
- git fetch --tags
script:
- sbt ++$TRAVIS_SCALA_VERSION clean headerCheck scalastyle test:scalastyle coverage test coverageReport scripted
before_deploy:
- if [ $TRAVIS_PULL_REQUEST = 'false' ]; then
openssl aes-256-cbc -K $encrypted_82c15cb04022_key -iv $encrypted_82c15cb04022_iv -in secring.asc.enc -out secring.asc -d;
gpg --batch --import secring.asc;
rm secring.asc;
fi
deploy:
- provider: script
skip_cleanup: true
script: sbt ++$TRAVIS_SCALA_VERSION coverageOff publishSigned
on:
tags: false
all_branches: true
- provider: script
skip_cleanup: true
script: sbt ++$TRAVIS_SCALA_VERSION coverageOff publishSigned sonatypeBundleRelease
on:
tags: true
env:
global:
- secure: "lg0z7sTC/i0+IjePIwd1dsgZi+RiN1kxahNVlUs/6T/IIJwvWOs3Uf6CXuughaebkbcC3iIk/kLAeU+WbKV0c/syf7vxzzzMtgjTge3m3k94Hjyo+JxvRyfpZ0d6GWVpyBfLdnOlq2myPeM79naxw7nPFlP1/s/rYmuARzWsjzKckDcjxRABTf5YEsqTunGSXBnBCjmejN0Rh8qL7e5XUKfRDL6wb3B/V3/gd6fZacv58jqRq2XyiAyO0YQxIbsBCS1g+EZudeakynkco5ci3JsdrqwC7pups/pm0T3/ft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