forked from schibsted/strongbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
77 lines (71 loc) · 5.43 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
72
73
74
75
76
77
language: java
jdk:
- oraclejdk8
script: ./script/cibuild
before_deploy: ./script/cipackage
before_cache: ./script/cicleanup
after_script: ./script/cicleanup
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
addons:
apt:
packages:
- gnupg
env:
global:
# AWS_SECRET_ACCESS_KEY
- secure: "WWiLKX5dCwBI6xrUoQqQaSN0gSCw71RZy3zcwgz5l44X5bPOTetX3sAmXeRxsf9pnXJc9iB0r3Zv5SX1K++hFOBSdb2Yb6vCYXCD2rwmOoGQiuE4Q3K22lwKPp3UloCxD2TseQ7GutklHW5rO20HLitoN5lUkElsE9SOCFbtw0/IpnvXl0U837NoZg7I71pe+UK2j1+c6u2uOVqg2hZFlTvZOdWhqmcbDSb+KUaOxdEONljXw3XRxm8OAZm5pSg9XdrTpg/eCbifA2CTKqbqTXe8W1rPHm9T98VlmDVXgMYfpak08goWfglmKiHE4hk4/lvFoIoNVZntzgAgM89MP7FNUXVM+f5L+UQK/Qn3srU7411RLaf6A7xKNyis13H8bkWtL6ZYNwOktBQeSt+r6TC/R+qGGmrPnpg8DAfMfX3H+wm3LWdNlYLlhCIQx1hghQkCbQik+R+wI04zhRKwH1pcl6WKh8h1+Jn6nY8jLBgNTf60r2kCpKhdn7WSsD4G5Ug4cLfFpjyqaUapmLS6oCUE/4EQg4Z5t6BEWWvuNEnVUa/wAVR0qRUwq5ymzrmkau1erY+UQ70Jkr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2o/TLPoKdsbsndmcM+7/JZbz71iMK5DM9bwPGq24EtzqyJ0bPuYxbl3fUv57PpBwSP/pLlp+eTlwpwvcoZMe3RDtlFduIdeIzl3pqOIkajBNad8kDA12UxM0UCCkdvsldVOxFa3sG2BWR4UkMNUgMKckFyPw2RBDgVrcpuW5fcES6BuQX8y6K6Bb8Zo0M5XBHF3Igpt0Ed6X+ZwbTpazkeW4YlIDujGQ45KNvKnGmJVOyhjzRtOt+4Wb7nZpIYG0xkqdCRhARa5qMjuksl2GM6xb1RhLBRthX/iKdGYsXzqJxrQIBez8FS6C4eRsP4/2kiBJMazf39J0miO8clVMAgsdQ4XUemgtqPc/NdAqbFxYlS5NQ4d5k0ST+6MPkyN3+s="
deploy:
# Documentation
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: build/gh-pages/
on:
tags: true
branch: master
# Maven
- provider: script
script: ./gradlew -info bintrayUpload
on:
tags: true
branch: master
# DEB
- provider: bintray
file: "bintray/descriptor-deb.json"
user: $BINTRAY_USER
key: $BINTRAY_KEY
on:
tags: true
branch: master
# RPM
- provider: bintray
file: "bintray/descriptor-rpm.json"
user: $BINTRAY_USER
key: $BINTRAY_KEY
on:
tags: true
branch: master
# Tarball
- provider: bintray
file: "bintray/descriptor-tar.json"
user: $BINTRAY_USER
key: $BINTRAY_KEY
on:
tags: true
branch: master