diff --git a/.travis.yml b/.travis.yml index e477e4d3..d5683780 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,12 @@ script: - npm run lint:nofix - npm run test after_success: - - npm run coverage \ No newline at end of file + - npm run coverage +deploy: + provider: npm + email: alvin.hui@qq.com + api_key: $NPM_AUTH_TOKEN + skip_cleanup: true + on: + tags: true + tag: latest