Skip to content

Commit c74455f

Browse files
committed
Add auto-deployment to Travis
1 parent f359be2 commit c74455f

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

.travis.yml

+20-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
language: node_js
2-
script: npm run-script test-travis
32
node_js:
4-
- '0.10'
5-
- '0.11'
6-
- '0.12'
7-
- iojs
8-
sudo: false
9-
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov
3+
- '4.0'
4+
- '7.0'
5+
after_script: bash <(curl -s https://codecov.io/bash)
6+
deploy:
7+
- provider: npm
8+
9+
api_key:
10+
secure: Rcq68neE4v0LstiDFdSfKXZNTNLzpcVir/UBr5SSyY0ygNymEN+QSjf/XEwUr/B6OC39u5xU76crkAPO+j4fwKHGY7Au+hDchz29QTzzVfvxjp36O7IJNz+P2L7zA5d/iCFoUKgKDJHQ6tTpVMGB09u1YM1zlbIvWF7NSxroMuE=
11+
on:
12+
tags: true
13+
node: '4.0'
14+
- provider: releases
15+
api_key:
16+
secure: aeYd/dNJUP5qKRVaG5GRDiyaq95dk1dze7biJfq2ZjyV9NkgjLqUnjPDVr8m3H8JDyYkPs+SSu5wk/0FXfVPuVU4j5uOE/QSDolM++BSCdO36WetSjWzVNJEv9z9YmrBu+OyrMgUYM7wG7OMlsR+aHqPUwpZHbsUdIiUQO87G0E=
17+
file:
18+
- "match-casing.js"
19+
- "match-casing.min.js"
20+
on:
21+
tags: true
22+
node: '7.0'

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"scripts": {
3434
"test-api": "node test",
3535
"test-coverage": "nyc --reporter lcov tape test/index.js",
36-
"test-travis": "npm run test-coverage",
3736
"test": "npm run test-api",
3837
"lint": "xo",
3938
"make": "npm run lint && npm run test-coverage",

0 commit comments

Comments
 (0)