-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
23 lines (23 loc) · 1.25 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
sudo: false
language: scala
cache:
directories:
- "$HOME/.sbt"
- "$HOME/.ivy2"
scala:
- 2.11.7
jdk:
- oraclejdk7
- oraclejdk8
script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test
- sbt ++$TRAVIS_SCALA_VERSION coverageReport
- rm ~/.sbt/boot/scala-*/org.scala-sbt/sbt/*/sbt.components.lock ~/.sbt/boot/sbt.boot.lock
after_success:
- test "${TRAVIS_JDK_VERSION}" = 'oraclejdk7' && sbt ++$TRAVIS_SCALA_VERSION coveralls
# multi-line script?
- test -n "${TRAVIS_TAG}" && test "${TRAVIS_JDK_VERSION}" = 'oraclejdk7' && openssl aes-256-cbc -k "$file_encryption_password" -in credentials.sbt.enc -out local.credentials.sbt -d && openssl aes-256-cbc -k "$file_encryption_password" -in secring.gpg.enc -out local.secring.gpg -d && openssl aes-256-cbc -k "$file_encryption_password" -in pubring.gpg.enc -out local.pubring.gpg -d && sbt ++$TRAVIS_SCALA_VERSION publishSigned sonatypeRelease
env:
global:
- secure: oDpGPZs1hGH2MeOZUdF2UQc91Or72KvbX8ZhkOwVnxgC0dlUc/bWAv5mQfHkTCB9/My6gCwpR/2TTexw60/x/gj2FdT75jXCXEaSMqPL0ZUvLgJ1dZf4cfqG/X+bi+CwgzjDVLsIC9ws8IbZwUxq7M8qn1pbxSxeCiqhSxeAVoE=
- secure: kFXL9YZ4zHjonwjxscQrLfINscmMPjr49lAruQ9s2vhrn2QMrSn2KMUiNWA3Vi1GThTiSJsmq+302JY4DNU++dtTpsmGTNoKExqXgNsgK9XIfOcZGprQCgwZ0RnNn4PKtm7m1QyJEJpHilCaGAZQZ9uZwmHxD/bR8pHagdDmZ10=