diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-15 15:37:31 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-15 15:37:31 +0200 |
commit | f88392cf680c30943f91d79d96e65277dfb0c7f0 (patch) | |
tree | c78649e90e96087118557a57766a41e9154c5d67 /server/tests/api/travis-1.sh | |
parent | 48f07b4a4091cb10dc4d179118e155f3a118dca8 (diff) | |
download | PeerTube-f88392cf680c30943f91d79d96e65277dfb0c7f0.tar.gz PeerTube-f88392cf680c30943f91d79d96e65277dfb0c7f0.tar.zst PeerTube-f88392cf680c30943f91d79d96e65277dfb0c7f0.zip |
Decrease max parallel tests for travis
Diffstat (limited to 'server/tests/api/travis-1.sh')
-rw-r--r-- | server/tests/api/travis-1.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/travis-1.sh b/server/tests/api/travis-1.sh index f7332795c..c9918d58e 100644 --- a/server/tests/api/travis-1.sh +++ b/server/tests/api/travis-1.sh | |||
@@ -6,5 +6,5 @@ checkParamFiles=$(find server/tests/api/check-params -type f | grep -v index.ts | |||
6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) | 6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) |
7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) | 7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) |
8 | 8 | ||
9 | MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel 3 --timeout 5000 --exit --require ts-node/register --bail \ | 9 | MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --exit --require ts-node/register --bail \ |
10 | $notificationsFiles $searchFiles $checkParamFiles | 10 | $notificationsFiles $searchFiles $checkParamFiles |