28 Star 213 Fork 61

zhblue / hustoj

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 942 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhblue 提交于 2021-06-23 22:18 . Update .travis.yml
language: minimal
services:
- docker
jobs:
include:
- stage: build deb
if: tag IS present
before_install:
- docker pull woodenfish42/hustoj-deb-debian8
- docker pull woodenfish42/hustoj-deb-ubuntu18
script:
- docker run -v `pwd`/deb:/tmp/deb woodenfish42/hustoj-deb-debian8 sh -c "TRAVIS_TAG=$TRAVIS_TAG DISTRIBUTION=debian8 /root/build.sh"
- docker run -v `pwd`/deb:/tmp/deb woodenfish42/hustoj-deb-ubuntu18 sh -c "TRAVIS_TAG=$TRAVIS_TAG DISTRIBUTION=ubuntu18 /root/build.sh"
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file_glob: true
file: deb/*
skip_cleanup: true
on:
tags: true
- stage: sync to gitee
if: branch = master
script:
- git fetch --unshallow
- git gc --prune=now
- travis_wait 300 git push --force https://zhblue:$GITEE_PASSWORD@gitee.com/zhblue/hustoj.git master
PHP
1
https://gitee.com/zhblue/hustoj.git
git@gitee.com:zhblue/hustoj.git
zhblue
hustoj
hustoj
master

搜索帮助