forked from LogNet/grpc-spring-boot-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (20 loc) · 783 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: java
jdk:
- oraclejdk8
sudo: false
dist: trusty
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- "openssl aes-256-cbc -K $encrypted_12c8071d2874_key -iv $encrypted_12c8071d2874_iv -in codesigning.asc.enc -out codesigning.asc -d && gpg --import ./codesigning.asc || echo"
after_success:
- "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_BRANCH} == 'master' ]] && [[ ${TRAVIS_TAG} == '' ]] && ./gradlew grpc-spring-boot-starter:uploadArchives grpc-spring-boot-starter:closeAndReleaseRepository"
# - ./gradlew bintrayUpload artifactoryPublish
- bash <(curl -s https://codecov.io/bash)
script:
- ./gradlew check
- ./gradlew codeCoverageReport