forked from hyperledger-web3j/web3j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 5.44 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:
- 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
script: "./gradlew spotlessCheck check jacocoTestReport"
if: type = pull_request
- stage: build master
script: "./gradlew spotlessCheck check jacocoTestReport release -PossrhRepoUrl=${SNAPSHOT_OSSRH_REPO_URL}"
if: branch = master AND NOT type = pull_request
- stage: build release
if: branch =~ /release/
script: "./gradlew check release -Pversion=${TRAVIS_BRANCH#'release/'} -PossrhRepoUrl=${RELEASE_OSSRH_REPO_URL}"
- stage: github release
if: branch =~ /release/
script: "./gradlew check -Pversion=${TRAVIS_BRANCH#'release/'} && ./scripts/github-release.sh"
- stage: release dependants
if: branch =~ /release/
script:
- "./scripts/release-dependant.sh web3j-quorum"
- "./scripts/release-dependant.sh web3j-cli"
- "./scripts/release-dependant.sh web3j-gradle-plugin"
after_success:
- bash <(curl -s https://codecov.io/bash)
env:
global:
- SNAPSHOT_OSSRH_REPO_URL: https://oss.sonatype.org/content/repositories/snapshots/
- RELEASE_OSSRH_REPO_URL: https://oss.sonatype.org/service/local/staging/deploy/maven2
- secure: Z4goO5m+wIyVJTjG1Q7PjXBDFw/lgWnIj1gKBWkiDvOm6n03kpGu6+VpevnA4/bf6+dy/YRhnPxF2wJPu7x4hsn/ndi5hLyfZjSoEC2snjynoo8W6d03NdYzGKwxF2ryIxa4pWtzK/NMPqxkG8P2gH0Qb6CgIuVPoM2SWO+VNifeGHAtaUkD/FlZJIiLG2W/700r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