Skip to content

Commit 2b3086b

Browse files
authored
Merge pull request #12 from lijunle/ci-build
Enable Travis CI build.
2 parents 6d24e04 + 64ca909 commit 2b3086b

File tree

3 files changed

+39
-2
lines changed

3 files changed

+39
-2
lines changed

.travis.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
sudo: false
2+
3+
language: node_js
4+
5+
node_js:
6+
- 0.12
7+
- 4
8+
- 6
9+
- 7
10+
11+
script:
12+
- npm run test
13+
14+
before_deploy:
15+
- "./node_modules/.bin/patch-version"
16+
17+
deploy:
18+
- provider: npm
19+
skip_cleanup: true
20+
21+
api_key:
22+
secure: StcT8gQfJW0nipD0H1fnFrxkl/VijNproaJ/EFg5AJuFtIdsn4OFein03+MYsTg6w1j9V2m8gVhCRD0dvgvCYtnbznoyqEoIf06ws2vHNYlnelPneZDMhsjaxMVnRcOvttUxAYkVJQ8Bn26scnDLwkuiJfNhyBX0hieMMD/IfOI=
23+
on:
24+
tags: true
25+
node: 6
26+
- provider: releases
27+
skip_cleanup: true
28+
api_key:
29+
secure: S9ZDp1V/NAFAPRfJbwiE3++ML5+l9gqQ6NuVLPqQR5qffOzax72mL/sBQUZCVRAw7W8mPCW24FK42KdFgDRCRA9ydCqhoUYAOpS0uQHqhiYFfnoIm6UbKEJ6lMnA3xir15+4JF3iU+Vwag9HMSIw8yOyp1CPBNT9YVYw+mEeIz0=
30+
on:
31+
tags: true
32+
node: 6

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# grunt-depcheck
22

3+
[![Build Status](https://travis-ci.org/depcheck/grunt-depcheck.svg?branch=master)](https://travis-ci.org/depcheck/grunt-depcheck)
4+
[![dependencies Status](https://david-dm.org/depcheck/grunt-depcheck/status.svg)](https://david-dm.org/depcheck/grunt-depcheck)
5+
[![devDependencies Status](https://david-dm.org/depcheck/grunt-depcheck/dev-status.svg)](https://david-dm.org/depcheck/grunt-depcheck?type=dev)
6+
37
> Depcheck Grunt plugin
48
59
## Getting Started

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grunt-depcheck",
33
"description": "Depcheck Grunt plugin",
4-
"version": "0.1.3",
4+
"version": "0.0.1",
55
"homepage": "https://github.com/rumpl/grunt-depcheck",
66
"author": {
77
"name": "Djordje Lukic",
@@ -31,7 +31,8 @@
3131
"grunt-cli": "^1.2.0",
3232
"grunt-contrib-clean": "^0.5.0",
3333
"grunt-contrib-jshint": "^0.9.2",
34-
"grunt-contrib-nodeunit": "^0.3.3"
34+
"grunt-contrib-nodeunit": "^0.3.3",
35+
"patch-version": "^0.1.1"
3536
},
3637
"keywords": [
3738
"gruntplugin"

0 commit comments

Comments
 (0)