Skip to content

Commit a4e771c

Browse files
committed
put back a test that library can be required without errors
1 parent bcec1ba commit a4e771c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: node_js
2+
node_js:
3+
- "0.12"
4+
- "iojs"
5+
sudo: false

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# ml
22

33
[![NPM version][npm-image]][npm-url]
4+
[![build status][travis-image]][travis-url]
45
[![David deps][david-image]][david-url]
56
[![npm download][download-image]][download-url]
67

@@ -85,6 +86,8 @@ require(['path/to/ml/dist/ml.min'], function (ML) {
8586

8687
[npm-image]: https://img.shields.io/npm/v/ml.svg?style=flat-square
8788
[npm-url]: https://www.npmjs.com/package/ml
89+
[travis-image]: https://img.shields.io/travis/mljs/ml/master.svg?style=flat-square
90+
[travis-url]: https://travis-ci.org/mljs/ml
8891
[david-image]: https://img.shields.io/david/mljs/ml.svg?style=flat-square
8992
[david-url]: https://david-dm.org/mljs/ml
9093
[download-image]: https://img.shields.io/npm/dm/ml.svg?style=flat-square

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Machine learning tools",
55
"main": "src/index.js",
66
"scripts": {
7+
"test": "node -p \"void(require('./'));console.log('OK')\"",
78
"build": "gulp build"
89
},
910
"config": {

0 commit comments

Comments
 (0)