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

clean travis

上级 7f2e7415
...@@ -31,25 +31,28 @@ before_install: ...@@ -31,25 +31,28 @@ before_install:
script: script:
- node --version - node --version
- npm --version - npm --version
- echo "Testing started ..." - echo "Testing Started ..."
- npm test || travis_terminate 1 - npm test
# - if [ "$TRAVIS_OS_NAME" == 'linux' ]; then npm run coverage; fi # - if [ "$TRAVIS_OS_NAME" == 'linux' ]; then npm run coverage; fi
- echo "Testing Finished."
jobs: jobs:
include: include:
- stage: pack - stage: pack
script: script:
- echo "NPM Pack Testing ..." - echo "NPM Pack Testing Started ..."
- npm version - npm version
- npm run test:pack && echo 'Npm pack testing is passed' || travis_terminate 1 - npm run test:pack
- echo "NPM Pack Testing Finished."
- stage: deploy - stage: deploy
script: script:
- echo "NPM Deploying ..." - echo "NPM Deploying Started ..."
- npm version - npm version
- if ./scripts/development-release.ts; then ./scripts/package-publish-config-tag-next.ts; fi - if ./scripts/development-release.ts; then ./scripts/package-publish-config-tag-next.ts; fi
- npm run dist - npm run dist
- echo "NPM Building Finished."
deploy: deploy:
provider: npm provider: npm
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册