Skip to content

Commit 8a7535d

Browse files
author
jfusco
committed
Fixing Travis CI integration
1 parent 1dae3c2 commit 8a7535d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ before_install:
55
- npm install -g gulp
66
- npm install -g eslint
77
script:
8-
- "gulp eslint && gulp test"
8+
- "gulp eslint && npm test"

gulp/tasks/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module.exports = (gulp, $) => {
44
gulp.task('test', () => {
55
return gulp.src('./src/js/Tags.js', {read: false})
6-
.pipe($.shell('jest --coverage'));
6+
.pipe($.shell('npm test'));
77
});
88

99
gulp.task('test-dev', () => {

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-tagging-input",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"description": "Simple tagging component",
55
"main": "dist-components/Tags.js",
66
"license": "MIT",
@@ -55,6 +55,9 @@
5555
"run-sequence": "^1.2.1",
5656
"minimist": "~1.2.0"
5757
},
58+
"scripts": {
59+
"test": "jest --coverage"
60+
},
5861
"jest": {
5962
"testDirectoryName": "__tests__",
6063
"testPathIgnorePatterns": [

0 commit comments

Comments
 (0)