forked from YahooArchive/html-purify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
22 lines (22 loc) · 1.23 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
notifications:
email:
recipients:
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 && test $(echo $TRAVIS_NODE_VERSION | awk '{print $1}' ) = '0.12' && export VALID_VERSION=true
deploy:
provider: npm
email: [email protected]
api_key:
secure: d8XsYmny+/sI8n+6KXVvkYQTLVFBkI6sWk0re8Q06oDmmPFnT2ewKyrJgMOjlFsyNkMtN3a1eiIIOYTdRXj4wGDNtqvPgjIyMVVhIrVtF0JNVVx9VUEnvRDlPtqjlDk7UE3OORvFvjDcDlcv9CFoqxLA3v63X4MiVMKP13C3KMTjYj3eocS7HjnM/3QwOKWv+LlFYda2TWiGkCN/4n4PWahpZQQH6d8Cd1oejbEGx21Ozmn7fUA9tKeCdaqD58oMstY+NxOCHvdF+DR5x8VFoUGQ3WC78uc8vjEiS7n+jmJjidJlFSNnHJnBnCHe4At1tLFuH+rkx87YZNrC6g2uF9V/N3w569LN4+2S5c9hlw6p9n6tzzlxPcmSeMSj7ySoBDviF9McBm+J7/xlGxCWkHRpbPiucosgCTwq66W+0QIFBBerBUq3/gGPKNVd7exNVJixLVs4NVQHk06x2zMpkgI6lq9b6RhVyqMbcelst/MjQ5WQy8Rz4OjSIpbD3zE7juB1JMrpfvpOodoT1xWbhlW25Idc0MOlpnS3aLuo3fT/GFkOqxtiwmsS/KhsMYDqewgHcBehllebnPH/c7UMu7bG/phI0EusJUzr43uGye4oa3MiHwplxdwocdsrIJizPrmWzaSYeE7TyA4jfLnunPi6O6Rnz7fxM4Grb5U5Zjs=
on:
condition: $VALID_VERSION = true
tags: true
branch: master