-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
40 lines (40 loc) · 3.1 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
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/.ivy2/local"
- "$HOME/.sbt/boot"
stages:
- test
- name: release
if: tag =~ ^v
- name: snapshot
if: NOT tag IS present
jobs:
include:
- stage: test
script: sbt -jvm-opts .travis.jvmopts coverage $TEST_SUITE coverageReport coverageAggregate coveralls
- stage: release
script: sbt -jvm-opts .travis.jvmopts publishSigned sonatypeBundleRelease
- stage: snapshot
script: sbt -jvm-opts .travis.jvmopts publish
env:
global:
- secure: ClhWL1IW+RhzPEF29WKneTmr4c6Tmg4YcF8Y4oJ8V0kX0bRbhAo+eTP7hIaLoVSqIUdqrEZNHSbC9QmG0Hou0J5Trdu+uxqjIln8ITQ6bKHXWOi+0w36U290xpx8fqcYGg8mvovOcrsXcn+f9n/kevTDXvaU2FeUfPCgyLJ1PlTigmbNy2iNnEBxai8Nd+K7WQFcYHqIrlBJPHxaLAtgZns/+Ee2UZJF4W9Ls18NtA9Xq7ruoiXzBWEaojcei82o+jcXN2cujiF0nakCsZfV15StnsaNdf94iGKwFth1y6xDAsrBxopDTm8Jf0YVk2Iozazbzwk2lB6spZ3i3ZkpqgcPo1gMnvrbgHfn/pHxNdfXoKVjUG0X7gywuGYh7izlN/gJLeHJ356iBKombNEagRkHWWSeSwyfWbLLqEAhGpw8xp8eQs2mokBjYRRLIJqaaIDJ4FHyvsi7woTeAf/FEcGo5czxzpWnQRjT98tlJyi/Lz/WgDPsWKMmpnKOgfSfHou7tJB4Jw59Y4H60ebA3MJZsYTH/ZQu3nxPDaBSaCWvyKCEpMKBPUeJ9RcJ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j80NaCRZuYeKa5onvotkgnIlVVdVYLAVx5hApCXS53MT+p4sb4xOfEtIbe0nGCN4Fw7j8HRlChhV4c+fdYB/V0qPlD16I5HyVYJ6X92/5Gm7bvW4aRFkN1LVVeBmJWq1eeCB2bxz5cFuOmUI9EH3T6I+tjDaiWG6WKq4F5MC+GxtZwTkTrPUqbS9QwssH8GkDmnwDy7rPP+XaB4Uadc15LqY/FwmTY6wFLr/awfrB2ezjawLOTDQDmagf9M3a6CdRfhN3ImtbktC69n4oOOMAQ0geOxRDy3Etsrb1Ogjw4nEZdeCgADeYv1HO2AO8+rF8qzqtArqvNGSAwvrb8B5I5OUlPdAV6HKsWHs4E7D9NI8E0/kJ6boWBppMYhfnYrLDIkzL3z0ocR51OM=
matrix:
- TEST_SUITE=test
language: scala
jdk:
- oraclejdk8
# decrypt the private key (exported via https://docs.scala-lang.org/overviews/contributors/index.html#export-your-pgp-key-pair )
before_install:
- openssl aes-256-cbc -K $encrypted_688fabf398c9_key -iv $encrypted_688fabf398c9_iv
-in ci/secring.asc.enc -out ci/secring.asc -d
# import decrypted private key
before_script: gpg --import ci/secring.asc