Skip to content

Commit

Permalink
Fixing Travis CI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jfusco committed Jul 18, 2016
1 parent 1dae3c2 commit 8a7535d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ before_install:
- npm install -g gulp
- npm install -g eslint
script:
- "gulp eslint && gulp test"
- "gulp eslint && npm test"
2 changes: 1 addition & 1 deletion gulp/tasks/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module.exports = (gulp, $) => {
gulp.task('test', () => {
return gulp.src('./src/js/Tags.js', {read: false})
.pipe($.shell('jest --coverage'));
.pipe($.shell('npm test'));
});

gulp.task('test-dev', () => {
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-tagging-input",
"version": "1.1.5",
"version": "1.1.6",
"description": "Simple tagging component",
"main": "dist-components/Tags.js",
"license": "MIT",
Expand Down Expand Up @@ -55,6 +55,9 @@
"run-sequence": "^1.2.1",
"minimist": "~1.2.0"
},
"scripts": {
"test": "jest --coverage"
},
"jest": {
"testDirectoryName": "__tests__",
"testPathIgnorePatterns": [
Expand Down

0 comments on commit 8a7535d

Please sign in to comment.