UNPKG

@khs1994/tencent-ai

Version:
37 lines (30 loc) 643 B
language: node_js node_js: - "12" - "10" cache: npm install: - npm install #- npm install codecov --save-dev #- npm install nyc --save-dev script: - npm run test after_success: - npm run codecov - rm -rf src/client/data.txt - npm run prepublishOnly # https://docs.travis-ci.com/user/deployment/npm/ deploy: provider: npm email: "khs1994@khs1994.com" api_key: $NPM_TOKEN # tag: next # https://docs.travis-ci.com/user/deployment#conditional-releases-with-on skip_cleanup: true on: tags: true node: '12' # condition: $MY_ENV = super_awesome # branch: release # repo: username/repo # all_branches: true