Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 1.51 KB
Copy Edit Web IDE Raw Blame History
tonychen authored 2020-02-24 00:12 . * modify ci script
sudo: false
dist: trusty
# blocklist
# safelist
branches:
only:
- master
- develop
- /^v\d+\.\d+\.\d+$/
- /^release.*/
language: java
jdk:
- oraclejdk8
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:
- gradle wrapper
jobs:
include:
- stage: "WeID-Java-SDK CI"
script:
- chmod u+x .ci/script/build-ci.sh
- .ci/script/build-ci.sh
#- travis_wait 45 ./gradlew check
#- ./gradlew jacocoTestReport
#after_success:
#- bash <(curl -s https://codecov.io/bash)
- stage: "dependency pipeline"
script:
- chmod u+x .ci/script/weid-http-service/build-ci.sh
- .ci/script/weid-http-service/build-ci.sh
name: "HTTP Rest Service simple CI"
if: (branch = master)
- stage: "dependency pipeline"
script:
- chmod u+x .ci/script/weid-build-tools/build-ci.sh
- .ci/script/weid-build-tools/build-ci.sh
name: "Build Tools simple CI"
if: (branch = master)
- stage: "dependency pipeline"
script:
- chmod +x .ci/script/weid-sample/build-ci.sh
- .ci/script/weid-sample/build-ci.sh
name: "Sample simple CI"
if: (branch = master)
deploy:
provider: releases
api_key: $GIT_REPO_TOKEN
file_glob: true
file: dist/app/weid-java-sdk*.jar
skip_cleanup: true
on:
tags: true
all_branches: true

Comment ( 0 )

Sign in for post a comment