-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
18 lines (18 loc) · 1.22 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dist: trusty
language: node_js
node_js:
- node
cache:
directories:
- node_modules
before_install:
- if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi
deploy:
provider: npm
email: [email protected]
api_key:
secure: "kCNJSuxkQq78A1Cm06/esOvVad9IjIVNluLBYkW6qIK3cectHHhVB585aeH0iEgJ+WmYNCasfingTct0hI7BlVtlfUeaKA9RI7e+L7QFjxrfoV1c+Jsiqu0gPuX17O+M0dosJdGS4+WZAC6qPFmE401pFXhTjfYxhPHWpxb7hJ3jklWaiS5SF8tg0Y2oOT+Fubw/Uj4HQjs3n5WkgB54i8O+79RSplzykArlcVStY8q3Rp1Injzaf4DPV+vYAAvedn6GS4tWfLirsVdphM9y9knz+L12S7nOMGtX2QROXERUSJ8mGxAWpVsN2vu8/oKtNh+h3sW2zN0jL0DOAXL1rkPNfpG7cbiqgZUGNQR20ievotdrTMAey/nY5aTWhCTeSPRvc71fLM1WS6ekLPVK7v2I9bjXZDpk24ASPhwDEZLbsALABXTRqNZqvgwbEFBnsm2wcajihudPruWTy7daKuFItoXNPWDa7+GVT4oGSsNo/g7GbYymiGBnr2fYwZY1eTWctX5UZ+PHmlf6w7cIlZvapafB38zjEHsOHp3fH7OBq/Wi/vFZYPOx0yNn6MOcpAVBmeZtbKiC0e7FKAvC4LoES02F+0BAXU4MWLVCYOIbON1OD4Cx55iI009V5/Y9y81lUFd3iehMRMgcT2OmZ63xetgsLkSiBxzyJOpVsS4="
on:
tags: true
condition: $(node -e 'console.log("v" + require("./package.json").version)') = ${TRAVIS_TAG}
skip_cleanup: true