This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
45 lines (45 loc) · 5.26 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
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 pull request
script: "./gradlew check jacocoTestReport"
if: type = pull_request
- stage: build master
script: "./gradlew check jacocoTestReport publish"
if: branch = master AND NOT type = pull_request
- stage: build and stage release
if: branch =~ /release/
script: "./gradlew check publish bintrayUpload -Pversion=${TRAVIS_BRANCH#'release/'}"
- stage: release
if: branch =~ /release/
script: "./gradlew closeAndReleaseRepository"
- stage: github release
if: branch =~ /release/
script: "./gradlew check distZip distTar -Pversion=${TRAVIS_BRANCH#'release/'} && ./scripts/github-release.sh"
after_success:
- bash <(curl -s https://codecov.io/bash)
before_install:
- |
if [[ "$TRAVIS_PULL_REQUEST" = "false" ]]; then
openssl aes-256-cbc -K $encrypted_2cbc0f504468_key -iv $encrypted_2cbc0f504468_iv -in web3j.asc.enc -out web3j.asc -d
fi
env:
global:
- secure: H9icwAxoZcZHlmSwpkix8sp7R2vdu3ygaWapt5CqUlzb2gLHMQn3Ky/ao6fMKXbybJYgUFAYnWGJztTCt8hxq0pq2Svvea2UgLuZK5c9Bn3W+SRJAoEdgNKNb0EL/srAKInmatjUH6BwgXduMxguSoBt3YPybwgC47FHCaFyEmaonccUmKhSogxacQ5xV3FU9mIQrPQCp0MHrO00A61pSbOHSJ1axodtC4Hu432CLCLfFJNs36yQaPcASCq88+XTvKadKpfcnhZQa7a998mfoHCkXw7EOWxRthUZEO73fGJKBA82Z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