Skip to content

Commit e720a62

Browse files
committed
Add npm, GitHub Releases deployment to Travis
1 parent 30bb693 commit e720a62

File tree

5 files changed

+23
-311
lines changed

5 files changed

+23
-311
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
*.log
33
coverage/
44
node_modules/
5+
unist-util-inspect.js
6+
unist-util-inspect.min.js

.travis.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
language: node_js
2-
script: npm run-script test-travis
32
node_js:
43
- '0.10'
54
- '0.11'
65
- '0.12'
7-
- iojs
6+
- '4.0'
7+
- '5.0'
88
sudo: false
99
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov
10+
deploy:
11+
- provider: npm
12+
13+
api_key:
14+
secure: L2CV9310heZFCuusDtSz7fxjHwpjrokljlMeVbyd/wiBQzy+bIr0RTMD+UxIXolxNEqjec1z9LKn5bx7B9S1oGJW6N22VmyUXBwWKJATptsV/MmO62ab68wJvefuLQKk/m2MbGe5ZwQ2BH9YC6ImKs2L1wp7oOjo1eN2q8S8KeE=
15+
on:
16+
tags: true
17+
node: '5.0'
18+
- provider: releases
19+
api_key:
20+
secure: gzvWsnNs268yLRD836U722pOohl51UxxUko05oEUJvjasiR0oqCKdSReF3ggStBerhSbvsiMppPOeRP/nMtzVoA8JnbvgfFJ+0otT5ouBkiIWAZIXrrYR52m2AZ4I2ICBhyZdDwiD7rtRwfA3k9UNc6X2IG0KGgYVOiElOZiwDE=
21+
file:
22+
- "unist-util-inspect.js"
23+
- "unist-util-inspect.min.js"
24+
on:
25+
tags: true

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
npm install unist-util-inspect
1111
```
1212

13-
**unist-util-inspect** is also available for AMD, CommonJS, and
14-
globals ([uncompressed](unist-util-inspect.js) and [compressed](unist-util-inspect.min.js)).
13+
**unist-util-inspect** is also available as an AMD, CommonJS, and
14+
globals module, [uncompressed and compressed](https://github.com/wooorm/unist-util-inspect/releases).
1515

1616
## Usage
1717

@@ -56,7 +56,7 @@ See below on how to change that.
5656

5757
**Returns** `string` — String representing `node`.
5858

59-
### inspect.\<style\>\[.\<style\>...\](node)
59+
### inspect.\\&lt;style>\[.\\&lt;style>...](node)
6060

6161
Where `style` is either `color` or `noColor`.
6262

unist-util-inspect.js

Lines changed: 0 additions & 305 deletions
This file was deleted.

unist-util-inspect.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)