vigour-boilerplate-module
Version:
A boilerplate of how to do modules
22 lines • 509 B
YAML
# .travis.yml
language: node_js
git:
depth: 1
matrix:
include:
- node_js: '6.3'
script: npm run travis
before_install:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
notifications:
email: false
deploy:
- provider: npm
email: jim@vigour.io
api_key: ${NPM_TOKEN}
on:
branch: master
tags: true
after_deploy:
- echo "{"email":"jim@vigour.io","token":\"${NOW_TOKEN}\"}" > ~/now.json
- echo "this will deploy your server using ploy-task-now stay tuned!"