Skip to content

Commit a9a2706

Browse files
committed
added travis
1 parent 18ef9bd commit a9a2706

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

.jshintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
coverage

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: node_js
2+
node_js:
3+
- "7"
4+
- "6"
5+
- "4"
6+
before_script:
7+
- npm install -g gulp mocha gulp-cli
8+
install:
9+
- npm install
10+
script:
11+
- npm test
12+
after_success:
13+
- bash <(curl -s https://codecov.io/bash)

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ gulp.task('test', function() {
3030
// `gulp-mocha` needs filepaths so you can't have any plugins before it
3131
.pipe(mocha({reporter: 'spec'}));
3232
}
33-
);
33+
);
34+
35+
gulp.task('sanity',['lint','test']);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "API service for a freelancer marketplace",
55
"main": "app.js",
66
"scripts": {
7-
"test": "gulp"
7+
"test": "gulp sanity"
88
},
99
"repository": {
1010
"type": "git",

test/config.js

Whitespace-only changes.

0 commit comments

Comments
 (0)