11 Star 80 Fork 27

Wechaty / wechaty

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
shippable.yml 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
Huan 提交于 2018-08-18 12:50 . enable shippable for all version branches
# Language setting http://docs.shippable.com/ci/languages/node/
language: python
python:
- 3.6
# use this to control what branches get built.
# http://docs.shippable.com/ci/advancedOptions/branches/
branches:
only:
- master
- v*.*
env:
global:
- secure: x0+gSTZx9QXVhhnEu+7iRXBEE0O/nGTXAvSJVgc+wx/qPocyB2CQqAf7+UTq3jGsrcdZYKGe8MCgxFOmT2abcv8TQn02LT9LQVsSBo9I72U4tisJcpcbFad4XkjwUXHOMZfndubGgy58GfDTNl/x1v7DB/Olhwu6nlJRYnedj22l8kdEKBpabMmrnogrWesoKKpYbkhR9Vi3XHeZ3FA5hu14wbhq8A2jpcGqh35bDpViAL7f447nPdn20SAFGOrqF3yC/Ws8keG0ChQ2IhQ4cx/ucpGmswUw+ZLJEUCQL0ZlUgkXAAUVeAUAMMywE+yWYLnfDRqnVshRdb6+lHz6VA==
build:
pre_ci_boot:
options: "-v /root/src:/root/src"
# http://docs.shippable.com/ci/shippableyml/#ci
ci:
- curl -sSL -o /tmp/bats_v0.4.0.tar.gz https://github.com/sstephenson/bats/archive/v0.4.0.tar.gz
- tar -xf /tmp/bats_v0.4.0.tar.gz
- sudo bats-0.4.0/install.sh /usr/local
- pwd
- ls -l
- docker run -v "$(pwd)":/mnt nlknguyen/alpine-shellcheck bin/*.sh
- ./scripts/docker.sh build
- ./scripts/docker.sh test
on_success:
- echo $BRANCH
- echo $IS_PULL_REQUEST
- if [ "$BRANCH" == "master" ] && [ "$IS_PULL_REQUEST" == false ]; then curl -X POST -d '{"from":"shippable"}' "$DOCKER_REBUILD_URL"; fi
# Integrations are used to connect external resources to CI
# http://docs.shippable.com/integrations/overview/
integrations:
# http://docs.shippable.com/ci/shippableyml/#notifications
notifications:
# turning of email for PR builds, get notified only on failure and change in status
# http://docs.shippable.com/integrations/notifications/email/
- integrationName: email
type: email
on_success: change
on_failure: change
on_pull_request: never
TypeScript
1
https://gitee.com/wechaty/wechaty.git
git@gitee.com:wechaty/wechaty.git
wechaty
wechaty
wechaty
master

搜索帮助