summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2014-11-03 21:07:49 -0500
committerThomas Park <thomas@thomaspark.me>2014-11-03 21:07:49 -0500
commit3ab898379581b9a4a079930fb88f3a78537c0752 (patch)
tree9ee665b9c8a1f99af5065570675edfe65db34267
parent8f56e18736ff91e446703564069685142086353e (diff)
use travis to auto-deploy to npm
-rw-r--r--.travis.yml26
1 files changed, 15 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 4bacb0bd..48f5200c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,18 +1,22 @@
branches:
only:
- - master
- - gh-pages
-
+ - master
+ - gh-pages
language: node_js
-
node_js:
- - "0.10"
-
+- '0.10'
before_install:
- - npm install -g grunt-cli recess bower
- - bower install
-
-script: "grunt swatch"
-
+- npm install -g grunt-cli recess bower
+- bower install
+script: grunt swatch
git:
depth: 10
+deploy:
+ provider: npm
+ email: hello@thomaspark.me
+ api_key:
+ secure: E9dTc33u8aHCXG4qd8TrafOiAMzgEJYQUx/bnG2thb4cDD2U64LEdShjkXnjwr2K2RLNfQ4IQWHsDVAvyDK0f9kiud0swoG0SHTU9RDQ+NYFYODZe/c5qOlYqIHoJIpLV3lb7AHrzhrk+G1bkTn7pukB6/nEU0e+D3I7b3kbwEg=
+ on:
+ tags: true
+ repo: thomaspark/bootswatch
+ branch: gh-pages