-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 3.63 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
sudo: false
language: scala
scala:
- 2.11.12
- 2.12.8
jdk:
- oraclejdk8
cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/.sbt"
- "$HOME/.ivy2"
script:
- sbt ++$TRAVIS_SCALA_VERSION clean test
- if [ $TRAVIS_TEST_RESULT -eq 0 -a "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_TAG"
=~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?(-M[0-9]+)?$ ]]; then echo "** Publishing Release
$TRAVIS_TAG **" && tar xf publishing && cp -r .bintray $HOME && sbt ++$TRAVIS_SCALA_VERSION
publishSigned && sbt ++$TRAVIS_SCALA_VERSION bintrayRelease && echo "sleeping for 60 seconds to prepare for sync..."; sleep 60 &&
sbt ++$TRAVIS_SCALA_VERSION "project core" bintraySyncMavenCentral &&
sbt ++$TRAVIS_SCALA_VERSION "project web" bintraySyncMavenCentral &&
sbt ++$TRAVIS_SCALA_VERSION "project rtmLite" bintraySyncMavenCentral &&
sbt ++$TRAVIS_SCALA_VERSION "project sharedEvents" bintraySyncMavenCentral; fi
- if [ $TRAVIS_TEST_RESULT -eq 0 -a "$TRAVIS_PULL_REQUEST" = "false" -a "$TRAVIS_BRANCH"
= "master" ]; then echo "** Publishing Snapshot from master **" && tar xf publishing
&& cp -r .bintray $HOME && sbt ++$TRAVIS_SCALA_VERSION publishSigned; fi
before_cache:
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
env:
global:
- secure: pKougE4/Y52L4xmLtQliWM0VSOyHCqxiT65Wu5CChkkOcobS8WbCqONSpe/oESExX8bTGUoeRU2iXcw7n1iazFy5MR8XbK1dNyPdt1U3y2K6UelQb7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kNv6Zy/Gku+LljmRo7x+qTDSN+i9H2GtJaprPhZnsIz9SnBEZ2rB75jqA4RTLPGsB0WBrnrKTLjzylUccCwF+/pO4RHKeW92WzMRoT2Tyo89ya9j7SAY7xYQmuU5A0XegEJyxJuWg9+Z6GB2xiWL0lG9OScAMaEZssGoRrhxkwDIuSIqc1jI=
- secure: vm0pF5zRBlEmvOuay8EBMkuF0xu96yVzMIVrFHHINC5WKFBZMsffsyGajr6SNo1EhcB4rIoytYsgTatD/nG0Sbl5XxJrqFACw62dJUo5ADry4khkS1AKbO7OmLXfEPmQw4tPaPnkyMYXs+EQgDjP7MkrxqJteEVUCneSh+d0ZTdVGouJzbxhT0mq/cnkuypyTCOSoq6+yJTC3gpRpKCwGDZ7Hn0SEyYQF46m4nLSXL27ixSjG+va6g8XVFi1cQMBlexrDm7YW7eAGjKCQaiHNjdeROcZPPPtQyQhXSEofpyrJO8bfcXQWVfeTjDJ/XqRK/mA6aNCdK6/KHh8AmrbY4zLVAwRirbiE6nHhH19gN0mfMuU2EI+qDfW9DtaZMpXMMJM7h5nIRLkwX+kvleSTr/KDfTJG9MXdnPy6zKKFI0XVeaDMYMyf1n0Ze3/5piIyvLOsTzdJBq+suG8SE13j6vYD1P0XMTZ2Bb3ZUIugwYQKwcUM7zF3MTlmyDVR9rUQCh/r1u1REjNikpw40rhuj1prAKaPZy0RHQZ8zGMn7dFh9XsetTZL8y5+mCMGJpLKhoO/e0Ov8Ja7VGL+Xz3wFKzl+zkmkD0vgq4SboNjfJuPcSDE8e/mmT5e9A8/3Xo3rE8Ua3FTTbgcaMecd7NKacVGvtEXkjdJa671pV98Sg=
before_install:
- openssl aes-256-cbc -K $encrypted_d6dc64042087_key -iv $encrypted_d6dc64042087_iv
-in travis/secrets.tar.enc -out travis/local.secrets.tar -d; tar xf travis/local.secrets.tar -C travis
- openssl aes-256-cbc -K $encrypted_f8adff21267b_key -iv $encrypted_f8adff21267b_iv
-in publishing.enc -out publishing -d