Skip to content

Commit ad872aa

Browse files
authored
Merge pull request #16 from wilsongp/hapi-17-upgrade
Hapi 17 upgrade
2 parents 7ab3c3b + 531280c commit ad872aa

File tree

17 files changed

+6701
-575
lines changed

17 files changed

+6701
-575
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: node_js
22
node_js:
3-
- "7"
4-
before_script:
5-
- npm install -g typescript
6-
- npm install -g gulp
3+
- "8"
4+
before_install:
5+
- nvm install "$(jq -r '.engines.node' package.json)"
76
services:
87
- mongodb

gulpfile.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gulp.task('clean', function () {
2020
*/
2121
gulp.task('tslint', () => {
2222
return gulp.src('src/**/*.ts')
23-
.pipe(tslint( {
23+
.pipe(tslint({
2424
formatter: 'prose'
2525
}))
2626
.pipe(tslint.report());
@@ -76,13 +76,10 @@ gulp.task('test', ['build'], (cb) => {
7676

7777
gulp.src(['build/test/**/*.js'])
7878
.pipe(envs)
79-
.pipe(mocha())
79+
.pipe(mocha({ exit: true }))
8080
.once('error', (error) => {
8181
console.log(error);
8282
process.exit(1);
83-
})
84-
.once('end', () => {
85-
process.exit();
8683
});
8784
});
8885

0 commit comments

Comments
 (0)