Skip to content

Commit bae666b

Browse files
author
Lukas Oppermann
committed
update for travis
1 parent bbee2f0 commit bae666b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
HTML5 Sortable jQuery Plugin
22
============================
33

4+
[![Build Status](https://travis-ci.org/voidberg/html5sortable.svg?branch=master)](https://travis-ci.org/voidberg/html5sortable) [![Coverage Status](https://coveralls.io/repos/voidberg/html5sortable/badge.svg)](https://coveralls.io/r/voidberg/html5sortable)
5+
46
> **Lightweight jQuery plugin to create sortable lists and grids using native HTML5 drag and drop API.**
57
68
## Features

gulpfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ gulp.task('lint', function() {
3131
'src/' + srcFile,
3232
'src/html.sortable.angular.js'
3333
])
34+
.pipe(jscs())
35+
.on('error', reportError)
3436
.pipe(jshint())
3537
.pipe(jshint.reporter('jshint-stylish'))
36-
.pipe(jscs())
37-
.on('error', reportError);
38+
.pipe(jshint.reporter('fail'))
39+
;
3840
});
3941
/* ---------- */
4042
/* convert to umd */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"phantomjs": "^1.9.16"
4747
},
4848
"scripts": {
49-
"test": "gulp test && node_modules/.bin/mochify --phantomjs node_modules/.bin/phantomjs",
49+
"test": "node_modules/.bin/mochify --phantomjs node_modules/.bin/phantomjs && gulp test",
5050
"build": "gulp build"
5151
}
5252
}

0 commit comments

Comments
 (0)