diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-28 09:52:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-28 09:52:13 +0100 |
commit | c710f90a36f09cdaed1728e12b9ee455e9c850e7 (patch) | |
tree | f84522569ff63174c8d385e95b88f9dd10d99bf3 /scripts | |
parent | 20b40b195aa89778a8b6dc22f76a2ea76ef406a8 (diff) | |
download | PeerTube-c710f90a36f09cdaed1728e12b9ee455e9c850e7.tar.gz PeerTube-c710f90a36f09cdaed1728e12b9ee455e9c850e7.tar.zst PeerTube-c710f90a36f09cdaed1728e12b9ee455e9c850e7.zip |
Increase mocha default timeout
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh index 4b584cbe7..a3e065d47 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh | |||
@@ -7,19 +7,19 @@ fi | |||
7 | 7 | ||
8 | if [ "$1" = "misc" ]; then | 8 | if [ "$1" = "misc" ]; then |
9 | npm run build | 9 | npm run build |
10 | mocha --exit --require ts-node/register/type-check --bail server/tests/client.ts server/tests/activitypub.ts | 10 | mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/client.ts server/tests/activitypub.ts |
11 | elif [ "$1" = "api" ]; then | 11 | elif [ "$1" = "api" ]; then |
12 | npm run build:server | 12 | npm run build:server |
13 | mocha --exit --require ts-node/register/type-check --bail server/tests/api/index.ts | 13 | mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index.ts |
14 | elif [ "$1" = "cli" ]; then | 14 | elif [ "$1" = "cli" ]; then |
15 | npm run build:server | 15 | npm run build:server |
16 | mocha --exit --require ts-node/register/type-check --bail server/tests/cli/index.ts | 16 | mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/cli/index.ts |
17 | elif [ "$1" = "api-fast" ]; then | 17 | elif [ "$1" = "api-fast" ]; then |
18 | npm run build:server | 18 | npm run build:server |
19 | mocha --exit --require ts-node/register/type-check --bail server/tests/api/index-fast.ts | 19 | mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-fast.ts |
20 | elif [ "$1" = "api-slow" ]; then | 20 | elif [ "$1" = "api-slow" ]; then |
21 | npm run build:server | 21 | npm run build:server |
22 | mocha --exit --require ts-node/register/type-check --bail server/tests/api/index-slow.ts | 22 | mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-slow.ts |
23 | elif [ "$1" = "lint" ]; then | 23 | elif [ "$1" = "lint" ]; then |
24 | cd client || exit -1 | 24 | cd client || exit -1 |
25 | npm run lint || exit -1 | 25 | npm run lint || exit -1 |