forked from hyperledger-web3j/web3j-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 1.29 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
language: java
jdk:
- openjdk11
sudo: false
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/"
install: skip
test: skip
jobs:
include:
- stage: build master
script: "./gradlew spotlessCheck check jacocoTestReport"
if: branch = master OR type = pull_request
- stage: release github
if: branch =~ /release/
script: "./gradlew check distZip distTar shadowDistTar shadowDistZip -Pversion=
&& ./scripts/github-release.sh"
env:
- secure: UGlPwgcOSfbfiOQ88B920Fg/BMFZoQltgXNd8igCVSP8mllDkKQa5KLmM0YAZS0RxIKP5NB5h6xj/tP+zm90xzIU96BmNoPO8S+uRMAGa0MXhf0mUNxwUaHocuPGcOgyjToX1OQNgr0VupyLP8eL1XYgm9vzcvKP+IPkt8rzzF0xDn/nkZnstlrjhTneMaFCLTpQFMYrxbTBcespxv0xvK45n8bJCqk30eV18mwbTNSDh+3ljYYiFElvIgLGUQaFujM73z1u/EYPezs0c8uLEK+9IINSX1UQS5GhuOR2um+7oy1VrK4dpnn22c9WOh5cEEXsFnEzRzKI/vYm6vdusx+sQT8gvZZdwx0EtwWvoqEIoUZmMv6KBNEd0pi3Coe9P28GtPuNI9vyfGPvF9i1tO8uxrGFpxdVmvABkXlbPWoQKQSfJHSwiNIgdWVVyc1rl6qkPiEfrkXUEIf+R4quCWitDay4yXAFWoV4LXf8KHOpwzl3i7weI9cuM7sT7Y6hctKJOt6mxjzm/3viX+BsOwWmSFbniJgtDIRt7jiK0o54HwCoSGRI41itJhBNeUE4BKmtGEoA6M9kB8nx26JI5wLHkunfPGq6eqlpw+t4jWyS7Y+T8Xx4Hs/vIlCda4UgpVXBBoHvuvP/Jv4SJO1m8UJ/YiVn605qZuKW3oFjeZg=