Skip to content
Snippets Groups Projects
Commit c498c389 authored by tatsy's avatar tatsy
Browse files

Revise .travis.yml to automate npm release.

parent a351d2a5
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,9 @@ node_js: ...@@ -3,6 +3,9 @@ node_js:
- '0.10' - '0.10'
script: script:
- make test-ci - make test-ci
after_script:
- git branch -d production
- git checkout -b production
deploy: deploy:
provider: npm provider: npm
email: tatsy.mail@gmail.com email: tatsy.mail@gmail.com
...@@ -11,3 +14,4 @@ deploy: ...@@ -11,3 +14,4 @@ deploy:
on: on:
tags: true tags: true
repo: tatsy/markdown-it-imsize repo: tatsy/markdown-it-imsize
branch: production
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment