forked from precog/async-blobstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (46 loc) · 3.91 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
48
49
50
51
52
53
54
55
56
57
58
language: scala
scala:
- 2.13.1
- 2.12.10
jdk: openjdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
- $HOME/.coursier/cache
env:
global:
- COURSIER_PROGRESS=0
- SBT=./sbt
# ENCRYPTION_PASSWORD
- secure: "caoHACBDM54QNPaPhFkbRpL8qsj01L5aNrvDY5Au9ycx6GsXjJ6PUXbp5tcjqCrVHUpQ+U4+1x+Y3tOmwV1ZLt0hNPJk0A2/xmo6b8aJLD8aXY5ObfcvUC/VI/w1lRWL7KQGqgTQCZngoV5eAQ9B4Ybnl49JcvPQsijx06KuWqYIn+E6pJni9g6b9eqYMvLAKKzGBlGgokQtnB/neoSrG/bmYhAJn0W+qaI1ApjyhwfcBZ9Ij+SsdCStzt7esndb8JpSUsWUAfZQaGg+JAWGoYOgeC5wEaC+Hz+i7pkPq/srQNqRYzs1RkhgJuJ3MJfHydlxXbfTzuvX5AcRUrplIrXnthGJKXyBOIUKU54sRpJLkdXzqJ0VZ7zqUtL6L0M4DgwrsTzExwmb6iTH5ggNXZ3Q6jTEbH6n+RmFo92aEUCd4JGRbiHXybpRperxEgwjkU60wjEWpVq4tTF/e9IKt+vBfY3whf2oHZsVZA7rxDsu8ZhN2KTNZKfU9DwgSBgaKjUyskbPOpj8V/8GJ54UQW12PkCDmT9CNYIr/LnhLm+w0KFZBJWY+pYZ3+uzTXPwxdPr+xvQrmTwAOJnYrx9CMMi+OP1WNs4RF57iwXzjK665xp54pAAUgIF30aE+qbtChTaZn/BmaVx+Bd7pWFsnyPa2m0MLLBBS2kgv7dlK9E="
# GITHUB_TOKEN
- secure: "o+UmjPoxz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v7HJlKZp85FACZaP+B55XSA5d8FMVl+oGq4zSmilum8uMzDX7UjM2dmv+2zY+YaKrSmWUydVmuOTHCrLLHHZB0z/VeygJhjkWF9fvZTkwljTVuDUxPrAa6ubYZJyDfDJpumI5JUeaX9a8I+7cfT00JP3hfg6IwOQfBsObx8yj8FamBRDMVUtKMrLnO6/RCW6BqDJZsSXSJ4ff2Da9TWHqPvHiE0beAz+/OQaRA22lhTleoqQgT0LJko45ZgkRmnWwPslTztuTToaIE8Tr+HNjCuliYlO7mMKjA6ocKx1rmu/sHeoE="
# DISCORD_WEBHOOK_TOKENS
- secure: "a1cbMPk1l28KoX8shLiM4o5tpFA6pTL56ZJ/V2G8KiSpG8NEX/llKu6ErtNFHGRh7sDlVwx2bxIuthkWxxFxU8L7JBSUy1u+8eeQ94rfUOtOh+QT3UnCzsb8afsuvW6P8ML7cLBzlDX2srYhz0izCObF+LlQ5AwQ6PReBu9Nj9PA+/X/egqJm2fvBDTu1k1og24DHu7E4+axk3RrxTjx8foQQQ7igqg51Me1hnjl1PjbLwP5Bf4oi/g0KTMx1Wn1+0lVgYKEqeaSJrulDJ4bKkbGYxcssdqOcFz/nJQ7jYIAR5IdOoXmcQdOSemVJrGWGQmNB2E0wRs2gvYSIbEQoMRwsUM1lSqoB0AEZypK8s0qmYs8uedYTdVTsELKzROilPz72pOi0ce3lAufd0g2PDz5G2ScFX8EngLtu4qbajq73vt2qHrKH+swTGl7ZiiAdxMiRDrSWkczFLX+Ei8MPi2EyNqdsUWfiEauQ+TKGXHz173+3lLOqxFeTtL9X2YKzPrseFlNFjHTNq0TUXbnj6Niqncsi91k2UfMFyPsv1n1JH6vkFposFmhy3+CFY9qR/OKLDA6t/P1jUd29zaLIRCfP5EzJsxQTKEPjCUMx7N34iK1aGXt3X0eFidwCVG3xeJ7zEg+7dkMLfI1xG+/yLG829CckaZpkxl5RTxtB2U="
install:
- mkdir scripts
- $SBT transferCommonResources
- scripts/commonSetup
script:
- set -e
- $SBT ++$TRAVIS_SCALA_VERSION test
- |-
if [[ $TRAVIS_SCALA_VERSION =~ 2.12 ]]; then
if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ "$TRAVIS_BRANCH" =~ backport/v.*|master ]]; then
$SBT transferPublishAndTagResources;
TRAVIS_JOB_NUMBER=1 scripts/publishAndTag 'slamdata/async-blobstore';
fi
scripts/checkAndAutoMerge
fi
after_success: scripts/discordTravisPost success https://discordapp.com/api/webhooks/$DISCORD_WEBHOOK_TOKENS
after_failure: scripts/discordTravisPost failure https://discordapp.com/api/webhooks/$DISCORD_WEBHOOK_TOKENS
branches:
only:
- master
- /^backport.*$/
before_cache:
- find "$HOME/.sbt/" -name '*.lock' -delete
- find "$HOME/.ivy2/" -name 'ivydata-*.properties' -delete