forked from duracloud/management-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (71 loc) · 5 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
59
60
61
62
63
64
65
66
67
68
69
70
71
dist: focal
language: java
jdk:
- openjdk11
notifications:
email:
recipients:
on_success: change
on_failure: always
slack: lyrasis:ctcQAEKjVcDFe9bTyMfH6PtI
install:
- mvn install -DskipTests -DskipDeploy --batch-mode
script:
- mvn test -DskipIntTests
sudo: true
deploy:
- provider: s3
access_key_id: $ARTIFACTS_KEY
secret_access_key: $ARTIFACTS_SECRET
bucket: $ARTIFACTS_BUCKET
region: $ARTIFACTS_REGION
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/target
upload-dir: management-console/master
on:
branch: master
- provider: s3
access_key_id: $ARTIFACTS_KEY
secret_access_key: $ARTIFACTS_SECRET
bucket: $ARTIFACTS_BUCKET
region: $ARTIFACTS_REGION
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/target
upload-dir: management-console/tagged-releases/$TRAVIS_TAG
on:
tags: true
- provider: s3
access_key_id: $ARTIFACTS_KEY
secret_access_key: $ARTIFACTS_SECRET
bucket: $ARTIFACTS_BUCKET
region: $ARTIFACTS_REGION
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/target
upload-dir: management-console/develop
on:
branch: develop
- provider: releases
api_key:
secure: KWP+zbZQ1LawKxW0XuUVxKUhf9ewVkhKdb5y8FsTAY0dKCNIbLvtv8+xnSZPGwOL1LfIBJvWCipTjetWJs2Ujmq2jXM8rbJhIhWpLi5VAi/Rh3+hbyCY3HVXluTHd4CgfBoa7v1IPVpdlLKbe12yKDyPZ6SDOC/hYTZ7lSR3B8RIdIjIXFcBmAnFhr9HVYImVljyI6mYgHN5F9HL8dbafo5MBPmKczxRXVkRplj9wG9COxbftXDr84AFLGhGpLmT62YkYUuOU9oxSitpfwhK72th+fGAMkV71OmxZeaKK5HuJq2nfI8TEG0AvefQVcKiZh5er5JsKutDtVhsGW1CgwHIAYp6bJvxEOfjZ8hgmEO5RT11PO77aSt7jvVfnneY1OY1MXr6LDePlrXstrWICiuiYPlqD08/JhoWSWkLpnfgRJTre9jMm+kDHJauQwqsgmdIMTLgwkrF0+pqAzzgzkpnVwRs3w1hdexG0XrHszpqERY8inBg0/36LMT1LJPJb9DobAP5tQ9x7RYowIRCfuBZyNMg0rxpmK6y1uyHp0LqpYtzs8gqfgXk5iIVFulY9GUnRqcOg0Z2aWvwhpP9GojXoxo9EDAUBHxPbnTYcMiWarJZ4yvDYPIQpLJOeK3J147tFO/uRySZskUk3oOcWUBTqUx+3WMoLx30F/sQOmc=
skip_cleanup: true
file-glob: true
file:
- "target/ama*.war"
- "target/sha512sum.txt.asc"
on:
tags: true
env:
global:
- secure: "Y8naNuhbw1yx24AwhAwIh5xuP+GIp+sVYfz5F2NAscpIEN5Jx/NtSFzzR2uA6zIj8h3ZicUgYgzflv3pECUlcnMLn1YaPj2JMTCiAtVoyq9VlKI9xBiSR75kGDIBU1GDTTuuZTJAVY4AxBX29hhQpJRdVRJ8pT54N7SX5dxvG9NF5zy+3Bd0Hh984gi1t+BpkUd6/2kQYsz4jA2dQ6ZACa3xEvTshSz89fPtIRJPs5gm6W4YAfdT1cE7MM6ywWuYN2DP00LjPAMCCPkx5MMXLYPVR8+NUaUuEP6is7BisvnoHjAuUVmDZgvEGsB0uXpbTuRkuCdQOw1cUUa6ylhC2T3O2cbQhiP5BWQyRbmk8hIC7ykLas7wYD39PelqxMo/EeYfMXa+EQDqGBYDmSuOKwDTiKQ200nROILW/fk9YrEOR++VFVETIdvEPl12yEJhN9JBfFoMRiOqQuymzUhe52Wzgz/4dV09vYwSUMchRO9J5FLOxc/WPVk6M5mcT0qjw8ldeMOZT3x8pHMeMzuAYT63poQ0MmSnH/kj20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cvKWPLpZIWlFCwDo+4fqS31TmDkArUticrCp3QLxxEprjFe6+Sb3apuqdeDCsJHm5gkVgc/Ut2cgHgbQqHIDCbglRAd4="
- # ^^ GPG_PASSPHRASE
after_success:
- chmod +x resources/travis/*.sh
- ./resources/travis/before-deploy.sh
- ./resources/travis/deploy.sh