forked from paypal/squbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (36 loc) · 3.26 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
language: scala
scala:
- 2.11.7
jdk:
- oraclejdk8
env:
global:
- TRAVIS_JDK_VERSION=oraclejdk8
- CODACY_PROJECT_TOKEN=36dd798d665d40db9f14eef201af7986
- secure: Hjba3GX9/l9cfTdB6kq3rwNz28/VCOjDKeGR29k6KCazSxx+owIXVBD267QDCJDeyuHKNf0Nx3usFHIeUYsRtOk4n421T2Yu52ovtuUGIsgD6DeW1uTvv7bdpFKlyfEZIDtRNNkT8GFYvhJe7tBgmpWWXZi1A2iY5EpIG9YaSWizHIp6OK8XayaZkQBsmPDjHO3Do0kAuDzUu1E/Tm+Cq0EvEZi4NfVqHS4gcP61qrt8978q75PsxZ3Ai8a8aVLuQnGjF7O42JscLDb5k8K6faLn+Eb6l4YCMz/cn4LD7l/4HcaCxuVkYp9d2NaZKXDWE3t3gHtORRKZ4DUzHSVrK8KtRSst0OuKABFh2iF/JsxjBYUekypStp5TaKZEUU/nBKiFjH903YJUSKfzJj2OGWk4SR0yu3Gy5wjQKsc8t0+AUw+W729EoaC2aLpg65wgIjEB9qZVGiyM7lX6Phc6WWxTjN4BMBny4m7xx7GMbAMi9cUKuokADj60AceopfUlL2SWLGa8ht05dNNTcbVff3ndVwtgbBNy+LVTzOdKaX/b4oXbuNAWtAMGpPKx8/iSsHUVqtf05WbuWMyBsyNw4ODm7AGyKVwX13066Yagd4HBNTWWalwzddhZBQLKzfbakOg4yeNfSX5XvLZTVhLZdEQkAgVQfbJSAmhVTlwHTo8=
- secure: cA9hORM/lgmEnoueBGPwcb6zfi8/nuJJ2eDhaAxfmHaeysfJL6s2UwveK5cG46oAN8jueh3afA8b2XbE5i+fspa6g69t7S9l8LLmFYwCuZ8H+J79X4JJHOZX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KnPBL7rpoqPO+O5t4W1s+WatIihGDhuYJf9wEhSIBwRdEf5cDOqotMlqYL5H8vhGPBCK3JUmgW/wVJXlRf6Mp+DdwmDDCscJsYAtFDFZU6tuAYyzxXef7XOsuRQ42q+2Rk5yDt5XUt6J3oMmqb6vBude2BpocbGcqP3twNkOCk=
before_install:
- >
if [ "x${ENCRYPTION_PASSWORD}" != "x" ]; then
openssl aes-256-cbc -pass pass:${ENCRYPTION_PASSWORD} -in secring.gpg.enc -out local.secring.gpg -d
openssl aes-256-cbc -pass pass:${ENCRYPTION_PASSWORD} -in pubring.gpg.enc -out local.pubring.gpg -d
openssl aes-256-cbc -pass pass:${ENCRYPTION_PASSWORD} -in credentials.sbt.enc -out local.credentials.sbt -d
fi
script:
- sbt -jvm-opts jvmopts clean coverage test
- sbt coverageReport
- sbt coverageAggregate
- sbt codacyCoverage
after_success:
- >
test "${TRAVIS_PULL_REQUEST}" = 'false' &&
test "${TRAVIS_JDK_VERSION}" = 'oraclejdk8' &&
sbt 'set credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", System.getenv("SONATYPE_USER"), System.getenv("SONATYPE_PASS"))' publish-signed
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/6120fddea5fd58b6bc51
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false