]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/tests/api/travis-4.sh
Decrease max parallel tests for travis
[github/Chocobozzz/PeerTube.git] / server / tests / api / travis-4.sh
1 #!/usr/bin/env sh
2
3 set -eu
4
5 redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
6 activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)
7
8 MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --exit --require ts-node/register --bail \
9 $redundancyFiles $activitypubFiles