-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
35 lines (35 loc) · 3 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
language: scala
scala:
- 2.11.12
- 2.12.4
jdk:
- oraclejdk8
branches:
only:
- master
before_script:
- if [ $TRAVIS_PULL_REQUEST = 'false' ]; then git checkout -qf $TRAVIS_BRANCH; fi
script:
- |
if [ $TRAVIS_PULL_REQUEST = 'false' ] && [ "$TRAVIS_BRANCH" = "master" ] && [[ $(cat version.sbt) =~ "-SNAPSHOT" ]]; then
openssl aes-256-cbc -k "$ENCRYPTION_PASSWORD" -in secrets.tar.enc -out secrets.tar -d
tar xvf secrets.tar
sbt ++$TRAVIS_SCALA_VERSION clean compile coverage test coverageReport publishSigned
else
sbt ++$TRAVIS_SCALA_VERSION clean compile coverage test coverageReport
fi
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
after_success:
- bash <(curl -s https://codecov.io/bash)
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION"
env:
global:
- secure: makKxQYXanKpnuvz/7cj852llD6A0bK3hEabhb/JHmOOMBF0sbiuuehftNLYGIg4wjSKC81kbsQF75UqlxbbG3NpOkJsYJ4sHbtUDAb2X8FERYsvw+M51/3mGroCiKh2bL7rpGE0rUIO5jDdqSu7RECHmpPpltkWlDaFTHq4G1aHRc2HdaFzOv+YfG8zUC4R1mD7hrKSWTDV4lTm13m0SRWJOXTHo6EHqEK5uEViXBR75ec+gyvO4pgiss0zaNWQVoB8HgrTw5mOkj9yWXNJ9+XSVZd0VeJ9wwtAjoSnnMiKeorNsKtG8ZBTo4nfREhkwEvl0mEPYKKnLoLV9hFlgR46awx0UuG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