-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (36 loc) · 2.46 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
sudo: required
cache:
directories:
- "$HOME/.ivy2"
- "$HOME/.sbt"
services:
- docker
branches:
only:
- master
- develop
- /^release\/.*/
- /^feature\\/.*/
language: scala
scala:
- 2.11.7
jdk:
- oraclejdk8
before_script:
- openssl aes-256-cbc -K $encrypted_6a59c36769db_key -iv $encrypted_6a59c36769db_iv -in .travis.cert.tar.enc -out .travis.cert.tar -d
- tar xf .travis.cert.tar
- docker login -u travis -p "$DOCKER_PASSWORD" https://strawpay-dockerv2-local.jfrog.io
script:
- sbt ++$TRAVIS_SCALA_VERSION -J-XX:ReservedCodeCacheSize=256M test docker:publish versionFile
# - curl -f -X POST -H "Content-Type:application/json" --cacert strawpayca.crt --cert travis.pem -d @target/version.json "https://rocannon.strawpay.com/internal/rocannon.yaml?buildNumber=$TRAVIS_BUILD_NUMBER%28$TRAVIS_COMMIT%29"
after_script:
- rm -f $HOME/.docker/config.json
- rm -f travis.pem strawpayca.crt .travis.cert.tar
- find $HOME/.sbt -name "*.lock" -exec rm {} \;
- find $HOME/.ivy2 -name "ivydata-*.properties" -exec rm {} \;
env:
global:
- secure: "N9dOJls4rFftTYeznto7jKtLOwnWOHexSXpo2jPuqeNPzJjIqOPAA46ofS4fIIrp2/QlYnF+T5w1KDn06XQZL9uiJ9rumJRFH5T7wXSvHkabDKVaT0kdRABt4aaeFiDXBURE2XZaf55yPfqH2RUr3Y3auLqrbkxGlfCEiFqkeEDUmUnSo/ZzcHRdPBOXQ/et6aMTVkS2NtfluMjSIiIQP7GUL/KhjDvJ/q4owZ6xkcqLNgUjykEu05jU/1Lyfu6OWF8BIVJLamY8u+oSfJoRsALmaQGWTO+5D57U3FhJ1xZMB+318zlWTxA4S/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