diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-29 11:59:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-29 13:40:39 +0200 |
commit | 2284f202070aa2e49156cc52b3b1596a7d5aadec (patch) | |
tree | 77aeb00016734667f8ff32a98ea8b4a6ed3ca31e /shared/extra-utils/server/servers.ts | |
parent | 112be80ebdf96ef6a27420c1c6a10097388731a9 (diff) | |
download | PeerTube-2284f202070aa2e49156cc52b3b1596a7d5aadec.tar.gz PeerTube-2284f202070aa2e49156cc52b3b1596a7d5aadec.tar.zst PeerTube-2284f202070aa2e49156cc52b3b1596a7d5aadec.zip |
Add gitlab ci support
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index 40cf7f0f3..a0720d778 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -79,8 +79,8 @@ function flushTests (serverNumber?: number) { | |||
79 | return new Promise<void>((res, rej) => { | 79 | return new Promise<void>((res, rej) => { |
80 | const suffix = serverNumber ? ` -- ${serverNumber}` : '' | 80 | const suffix = serverNumber ? ` -- ${serverNumber}` : '' |
81 | 81 | ||
82 | return exec('npm run clean:server:test' + suffix, err => { | 82 | return exec('npm run clean:server:test' + suffix, (err, _stdout, stderr) => { |
83 | if (err) return rej(err) | 83 | if (err || stderr) return rej(err || new Error(stderr)) |
84 | 84 | ||
85 | return res() | 85 | return res() |
86 | }) | 86 | }) |