1 Star 0 Fork 161

xiesiji / halo

加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.30 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
johnniang 提交于 2019-05-11 23:59 . Fix issue(#153)
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/
- $TRAVIS_BUILD_DIR/build/libs/
dist: trusty
jobs:
include:
- stage: test
script: ./gradlew check
- stage: build
script: ./gradlew clean build -x test
- stage: Build Docker Image for Release
script: ./scripts/docker-build-release.sh
- stage: Build Docker Image for Dev
script: ./scripts/docker-build-dev.sh
- stage: GitHub Release
script: echo "Deploying to GitHub releases ..." && pwd
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file_glob: true
file: $TRAVIS_BUILD_DIR/build/libs/*
skip_cleanup: true
on:
tags: true
stages:
- test
- build
- name: GitHub Release
if: tag =~ /^v\d+\.\d+(\.\d+)?(-\S*)?$/
- name: Build Docker Image for Release
if: tag =~ /^v\d+\.\d+(\.\d+)?(-release)?$/
- name: Build Docker Image for Dev
if: tag =~ /^v\d+\.\d+(\.\d+)?-(beta|alpha)+(\.\d+)?$/
branches:
only:
- master
- dev
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
notifications:
webhooks:
- https://fathomless-fjord-24024.herokuapp.com/notify

评论 ( 0 )

你可以在登录后,发表评论

Java
1
https://gitee.com/xiesiji/halo.git
git@gitee.com:xiesiji/halo.git
xiesiji
halo
halo
master

搜索帮助