diff options
Diffstat (limited to 'server/tests/api/travis-1.sh')
-rw-r--r-- | server/tests/api/travis-1.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/travis-1.sh b/server/tests/api/travis-1.sh index e4761d2f9..0673bb2bf 100644 --- a/server/tests/api/travis-1.sh +++ b/server/tests/api/travis-1.sh | |||
@@ -2,9 +2,9 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | files=$(find server/tests/api/check-params -type f | grep -v index.ts | xargs echo) | 5 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) |
6 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) | ||
7 | checkParamFiles=$(find server/tests/api/check-params -type f | grep -v index.ts | xargs echo) | ||
6 | 8 | ||
7 | MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel 4 --timeout 5000 --exit --require ts-node/register --bail $files | 9 | MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel 4 --timeout 5000 --exit --require ts-node/register --bail \ |
8 | 10 | $notificationsFiles $searchFiles $checkParamFiles | |
9 | mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/api/notifications/index.ts | ||
10 | mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/api/search/index.ts | ||