提交 8af3ef41 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

retry 3 times under CI

上级 df7b9b04
......@@ -29,7 +29,12 @@ jobs:
- run:
name: Testing
command: |
n=0
./script/docker.sh test
while ((n < 3 && $? > 0)); do
((n++))
./script/docker.sh test
done
- deploy:
name: Deploy Wechaty Image to Docker Hub
command: |
......
......@@ -29,7 +29,7 @@ script:
- echo $TRAVIS_OS_NAME
- node --version
- npm --version
- npm test
- n=0; npm test; while ((n < 3 && $? > 0)); ((n++)); do npm test; done
after_success:
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then npm run coverage; fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册