aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/travis-1.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-25 09:46:02 +0200
committerChocobozzz <me@florianbigard.com>2019-05-14 15:37:42 +0200
commitda3a3ab6829107b3ed7f18dda42648dfde41871d (patch)
tree0440ec299637afa27b7c965a36ae61a2b8ddb03e /server/tests/api/travis-1.sh
parent56ba489f67474b176ddbba2f5f6247df583c868a (diff)
downloadPeerTube-da3a3ab6829107b3ed7f18dda42648dfde41871d.tar.gz
PeerTube-da3a3ab6829107b3ed7f18dda42648dfde41871d.tar.zst
PeerTube-da3a3ab6829107b3ed7f18dda42648dfde41871d.zip
Try parallel check params tests
Diffstat (limited to 'server/tests/api/travis-1.sh')
-rw-r--r--server/tests/api/travis-1.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/tests/api/travis-1.sh b/server/tests/api/travis-1.sh
new file mode 100644
index 000000000..e4761d2f9
--- /dev/null
+++ b/server/tests/api/travis-1.sh
@@ -0,0 +1,10 @@
1#!/usr/bin/env sh
2
3set -eu
4
5files=$(find server/tests/api/check-params -type f | grep -v index.ts | xargs echo)
6
7MOCHA_PARALLEL=true mocha-parallel-tests --max-parallel 4 --timeout 5000 --exit --require ts-node/register --bail $files
8
9mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/api/notifications/index.ts
10mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/api/search/index.ts