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

test ci

上级 4b63aeb9
......@@ -22,24 +22,21 @@ stages:
- test
- pack
- name: deploy
if: branch =~ ^(master|v\d+\.\d+)$
AND (type NOT IN (cron, pull_request))
if: branch =~ ^(master|v\d+\.\d+)$ AND (type NOT IN (cron, pull_request))
before_install:
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then ./scripts/prepare-osx.sh; fi
script:
- echo $TRAVIS_OS_NAME
- node --version
- npm --version
- echo "Testing started ..."
- npm test || travis_terminate 1
- if [ "$TRAVIS_OS_NAME" == 'linux' ]; then npm run coverage; fi
jobs:
include:
- stage: test
script:
- echo $TRAVIS_OS_NAME
- node --version
- npm --version
- echo "Testing started ..."
- npm test || travis_terminate 1
after_success:
- if [ "$TRAVIS_OS_NAME" == 'linux' ]; then npm run coverage; fi
- stage: pack
script:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册