Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Commit

Permalink
add the continuous deployment of context parser
Browse files Browse the repository at this point in the history
  • Loading branch information
neraliu committed Jun 15, 2015
1 parent 32b47af commit 8c63f8a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,21 @@ language: node_js
node_js:
- '0.11'
- '0.10'
notifications:
email:
recipients:
- [email protected]
on_success: change
on_failure: always
after_success:
- test $(cat $TRAVIS_BUILD_DIR/package.json | grep version | awk '{print $2}' | sed
's/"//g' | sed 's/,//g' | awk '{print "v"$1}' ) = $TRAVIS_TAG && export VALID_VERSION=true
deploy:
provider: npm
email: [email protected]
api_key:
secure: LlhF8dO3Plt023CjeQRumw9ZgBNsE2KWanHrRY/SnMoFxWgcVYEbzX3Ze5CtoRvtm8CH+3z71L11BaL52GN0qm+0zX93h4JXTYETloEzX2pdJpiBXATzEKcscLC5bfsarh2I/UlkSPQP2b+mkAi3RJu/rjF4CBjbpwka90aF1k0=
on:
condition: $VALID_VERSION = true
tags: true
branch: master

0 comments on commit 8c63f8a

Please sign in to comment.