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

set -eu

videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo)

MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel 3 --timeout 5000 --exit --require ts-node/register --bail \
    $videosFiles