aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/tests/api/travis-3.sh
blob: c0e558d348aeb2111344bd8ae77ed2793478573f (plain) (tree)
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 $1 --timeout 5000 --exit --require ts-node/register --bail \
    $videosFiles