-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
52 lines (47 loc) · 3.37 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
# Based on https://github.com/scalacenter/library-example
language: scala
jdk:
- openjdk11
jobs:
include:
- stage: style
name: "Code style"
script: sbt check
- stage: test
name: "Unit tests"
script: sbt clean coverage test coverageReport
after_success: bash <(curl -s https://codecov.io/bash)
- stage: compatibility
name: "Binary compatibility and license check"
script: sbt audit
- stage: performance
name: "Performance tests"
script: sbt Perf/test
- stage: doc
name: "API documentation"
script: sbt doc
- stage: publish
name: "Publish"
if: type = push AND tag =~ ^v
before_install:
- openssl aes-256-cbc -K $encrypted_c504bc2a30c2_key -iv $encrypted_c504bc2a30c2_iv
-in ci/secret-key.asc.enc -out ci/secret-key.asc -d
- echo $PGP_PASSPHRASE | gpg --passphrase-fd 0 --batch --yes --import ci/secret-key.asc
script: sbt publishSigned sonatypeBundleRelease
cache:
directories:
- "$HOME/.cache/coursier"
- "$HOME/.ivy2/cache"
- "$HOME/.sbt"
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
env:
global:
# PGP_PASSPHRASE
- secure: awUsR4btBnh0U7f2n/ftvI1EoArnuuWQH4tm44Qbb/3z+KgO/arqUI8mF7TuC+UK5U/Mqk2BbtZ8fgyBqYBht+x4p/29BBEaadguz6nDLctGvTssE7JN+Fz1vKimudgvNO2F4LGK6xwyBvKKlnMHfuIPtH9RCZuBkMvznTJpzbk/MPW27W4u1cIi0IQpMzNo6tGMNO6evmWlRXauDlpAkPAWl7hxiCbbztnaht4dq3IIETnozuodzvW/hzIsGNoJXKSP7knpSRny9SjNmNQzyagS9sZDjLGBW9fMOEI5j3fYciN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