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-2.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-2.sh')
-rw-r--r-- | server/tests/api/travis-2.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/travis-2.sh b/server/tests/api/travis-2.sh index abeb48144..82c1864b4 100644 --- a/server/tests/api/travis-2.sh +++ b/server/tests/api/travis-2.sh | |||
@@ -5,5 +5,5 @@ set -eu | |||
5 | serverFiles=$(find server/tests/api/server -type f | grep -v index.ts | xargs echo) | 5 | serverFiles=$(find server/tests/api/server -type f | grep -v index.ts | xargs echo) |
6 | usersFiles=$(find server/tests/api/users -type f | grep -v index.ts | xargs echo) | 6 | usersFiles=$(find server/tests/api/users -type f | grep -v index.ts | xargs echo) |
7 | 7 | ||
8 | MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel 3 --timeout 5000 --exit --require ts-node/register --bail \ | 8 | MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --exit --require ts-node/register --bail \ |
9 | $serverFiles $usersFiles | 9 | $serverFiles $usersFiles |