Skip to content

Commit da0d4a7

Browse files
committed
Add travis "build"
This allows me to activate greenkeeper, and lint PRs
1 parent 7f7eee1 commit da0d4a7

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: node_js
2+
node_js: node
3+

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
> Add a JavaScript or CSS asset to the HTML generated by `html-webpack-plugin`
33
44
[![NPM Version][npm-image]][npm-url]
5+
[![Build Status][travis-image]][travis-url]
56

67
[![Dependency Status][david-image]][david-url]
78
[![Dev Dependency Status][david-dev-image]][david-dev-url]
@@ -150,6 +151,8 @@ var webpackConfig = {
150151

151152
[npm-url]: https://npmjs.org/package/add-asset-html-webpack-plugin
152153
[npm-image]: https://img.shields.io/npm/v/add-asset-html-webpack-plugin.svg
154+
[travis-url]: https://travis-ci.org/SimenB/add-asset-html-webpack-plugin
155+
[travis-image]: https://img.shields.io/travis/SimenB/add-asset-html-webpack-plugin/master.svg
153156
[david-url]: https://david-dm.org/SimenB/add-asset-html-webpack-plugin
154157
[david-image]: https://img.shields.io/david/SimenB/add-asset-html-webpack-plugin.svg
155158
[david-dev-url]: https://david-dm.org/SimenB/add-asset-html-webpack-plugin#info=devDependencies

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"lint": "node-version-gte-4 && eslint . || node-version-lt-4",
1111
"prepublish": "not-in-install && npm run compile || in-install",
1212
"postpublish": "git push --follow-tags",
13-
"test": "npm run lint"
13+
"pretest": "npm run lint",
14+
"test": "echo No tests defined"
1415
},
1516
"repository": "SimenB/add-asset-html-webpack-plugin",
1617
"keywords": [

0 commit comments

Comments
 (0)