Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #409 from Financial-Times/deploy-npm
Browse files Browse the repository at this point in the history
Enable auto publishing to npm from travis based on git tags
  • Loading branch information
JakeChampion authored Feb 22, 2017
2 parents e45ad10 + 4d04822 commit 887c51e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
26 changes: 19 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
sudo: false
language: node_js
node_js:
- "4"
- "5"
- "6"
- '4'
- '5'
- '6'
script:
- gulp install
- gulp verify
- gulp test
- gulp install
- gulp verify
- gulp test
cache:
directories:
- node_modules
matrix:
fast_finish: true
allow_failures:
- node_js: "5"
- node_js: '5'
before_deploy:
- npm-prepublish --verbose
deploy:
provider: npm
email: [email protected]
api_key:
secure: F6dADkgQEyEkuchSvzwzgDvbk99e2ZR+3e8PRLJGOoyr15igmAc6QoNlFwyfFMVDafQr27wheF5Ab7+GYXhlIWJZHRmJrpUy9McDg0g1XhGQxAS6bo2Q6EHI6IRS0xbYN5RarVb0NlX7PxJiecrcCv3rJwbxnq8nJ1SnI7T8rBI=
on:
all_branches: true
tags: true
node: '6'
repo: Financial-Times/origami-build-tools
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "origami-build-tools",
"version": "6.0.1",
"version": "0.0.0",
"description": "Origami component development tools.",
"main": "./lib/origami-build-tools",
"bin": {
Expand Down Expand Up @@ -67,6 +67,7 @@
"fs-extra": "^2.0.0",
"mocha": "^3.0.2",
"mockery": "^2.0.0",
"npm-prepublish": "^1.2.2",
"sinon": "^1.17.5",
"vinyl": "^2.0.1"
},
Expand Down

0 comments on commit 887c51e

Please sign in to comment.