From c498c389f3126ce8ed35a2157f469df4d2b6777a Mon Sep 17 00:00:00 2001
From: tatsy <tatsy.mail@gmail.com>
Date: Mon, 2 Feb 2015 19:02:53 +0900
Subject: [PATCH] Revise .travis.yml to automate npm release.

---
 .travis.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 25b91c0..6750d37 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,11 @@
 language: node_js
 node_js:
-- '0.10'
+  - '0.10'
 script:
-- make test-ci
+  - make test-ci
+after_script:
+  - git branch -d production
+  - git checkout -b production
 deploy:
   provider: npm
   email: tatsy.mail@gmail.com
@@ -11,3 +14,4 @@ deploy:
   on:
     tags: true
     repo: tatsy/markdown-it-imsize
+    branch: production
-- 
GitLab