Set up Travis npm autodeploy

This commit is contained in:
Tim Perry 2017-08-18 12:41:24 +02:00
parent 435fedfa07
commit 4320f33d8e
2 changed files with 23 additions and 0 deletions

22
.travis.yml Normal file
View File

@ -0,0 +1,22 @@
language: node_js
matrix:
include:
- node_js:
- '6'
env:
- CAN_DEPLOY=true
before_install:
- npm -g install npm
script: echo 'TODO Write some tests'
notifications:
email: false
deploy:
provider: npm
email: accounts@resin.io
api_key:
secure: phet6Du13hc1bzStbmpwy2ODNL5BFwjAmnpJ5wMcbWfI7fl0OtQ61s2+vW5hJAvm9fiRLOfiGAEiqOOtoupShZ1X8BNkC708d8+V+iZMoFh3+j6wAEz+N1sVq471PywlOuLAscOcqQNp92giCVt+4VPx2WQYh06nLsunvysGmUM=
skip_cleanup: true
on:
tags: true
condition: "$CAN_DEPLOY = 'true' && $TRAVIS_TAG =~ ^v?[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+"
repo: resin-io/resin-cli

View File

@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Set up Travis npm autodeploy
- Upgrade to Lodash v4, drastically reducing install size (due to dedupes)
- Updated npm package description
- Added support for looking up shared apps via [owner]/[appname] strings