aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/travis-4.sh
blob: 875986182250af2270e195f6d66f7836d06471bc (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env sh

set -eu

redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo)
activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo)

MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel $1 --timeout 5000 --exit --require ts-node/register --bail \
    $redundancyFiles $activitypubFiles