forked from hyperledger-web3j/web3j-sokt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (47 loc) · 5.88 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
os:
- linux
language: java
jdk:
- openjdk8
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 pull request
if: type = pull_request
script: "./gradlew check jacocoTestReport"
- stage: publish master
if: branch = master AND NOT type = pull_request AND os = linux
script: "./gradlew publish -x test"
- stage: build release
if: branch =~ /release/ AND os = linux
script: "./gradlew publish bintrayUpload -Pversion=${TRAVIS_BRANCH#'release/'}
-x test"
- stage: release
if: branch =~ /release/ AND os = linux
script: "./gradlew closeAndReleaseRepository"
- stage: github release
if: branch =~ /release/ AND os = linux
script: "./scripts/github-release.sh"
before_install:
- |
if [[ "$TRAVIS_PULL_REQUEST" = "false" ]]; then
openssl aes-256-cbc -K $encrypted_0468558b4508_key -iv $encrypted_0468558b4508_iv -in web3j.asc.enc -out web3j.asc -d
fi
env:
global:
- secure: mel2ZBpGZrgQzXUg7j7t2jYfEARO+Da+bejgEdGTK0bo+yKUvO9jr7OGNsGopg3A/JgVh+h8OKoN22r/cpFJ91rdqHs3T9ReBZIPcXlQVhyUA+gOgGRDq9drOWegrweWahWuPxTmSsNE4/8UrNItf+p8e9DE+89ElUKk3Q84qSEI4SJZdb9qvB4vUGbKtjkIjoGb1v1l4953Q1MZBXb5ExqWgIS+xhCjmvtvEP2F9iqTHZJAY03c5avt6al6a6/tzbn0wHx7fVFLimfTBwVyS08E3dDtUn2U04q2vNPBJ7G8gca9qM7a0cKT/1xOkqdNOJmSZmLMXYIYPjaqs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