-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
52 lines (52 loc) · 5.55 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
language: java
jdk:
- openjdk8
sudo: required
services:
- docker
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/"
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-Linux-x86_64
> docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- |
if [[ "$TRAVIS_PULL_REQUEST" = "false" ]]; then
openssl aes-256-cbc -K $encrypted_9023d7762f93_key -iv $encrypted_9023d7762f93_iv -in web3j.asc.enc -out web3j.asc -d
fi
install: skip
test: skip
jobs:
include:
- stage: build pull request
script: "./gradlew --stacktrace check jacocoTestReport"
if: type = pull_request
- stage: build master
script: "./gradlew --stacktrace check jacocoTestReport publish"
if: branch = master AND NOT type = pull_request
- stage: build and stage release
if: branch =~ /release/
script: "./gradlew --stacktrace check publish bintrayUpload -Pversion=${TRAVIS_BRANCH#'release/'}"
- stage: build release
if: branch =~ /release/
script: "./gradlew closeAndReleaseRepository"
- stage: github release
if: branch =~ /release/
script: "./gradlew check assembleShadowDist -Pversion=${TRAVIS_BRANCH#'release/'} && ./scripts/github-release.sh"
after_success:
- bash <(curl -s https://codecov.io/bash)
env:
global:
- secure: O8XzjUOga7oQFMvYRFvcK208vSBZ8jvhDL8WNs+4WUB/jgTEesv1lVMCuDQn2T5Q3RQPq964A4MFYBVQkXht+uNGKci925nyeXrsV/vpey88H34ai3skc31AcrVSuyoEmIlpXRlEpxAd+yBp223J4W2Qk71vQ3HKKRzN7Rx7cSSGwuUL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