代码拉取完成,页面将自动刷新
同步操作将从 Wechaty/wechaty 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
box: python
build:
steps:
- script:
name: Prepare Packages
code: |
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs
apt-get install -y libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev build-essential g++
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
- script:
name: Build Wechaty Docker Image
code: |
docker run -ti -v "$(pwd)":/mnt nlknguyen/alpine-shellcheck bin/*.sh
NO_CACHE=1 ./scripts/docker.sh build
- script:
name: Test
code: ./scripts/docker.sh test
- script:
name: Environment Informations
code: |
echo "python version $(python --version) running"
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
docker --version
docker info
whoami
pwd
ls -lr
deploy:
steps:
- script:
name: Deploy Wechaty Image to Docker Hub
code: curl -X POST -d '{"from":"Wercker"}' "$DOCKER_REBUILD_URL"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。