diff options
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-x | scripts/ci.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index 1819f73dd..c023ddf98 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -11,7 +11,7 @@ killall -q peertube || true | |||
11 | 11 | ||
12 | if [ "$1" = "misc" ]; then | 12 | if [ "$1" = "misc" ]; then |
13 | npm run build -- --light-fr | 13 | npm run build -- --light-fr |
14 | mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/client.ts \ | 14 | mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail server/tests/client.ts \ |
15 | server/tests/feeds/index.ts \ | 15 | server/tests/feeds/index.ts \ |
16 | server/tests/misc-endpoints.ts \ | 16 | server/tests/misc-endpoints.ts \ |
17 | server/tests/helpers/index.ts \ | 17 | server/tests/helpers/index.ts \ |
@@ -19,7 +19,7 @@ if [ "$1" = "misc" ]; then | |||
19 | elif [ "$1" = "cli" ]; then | 19 | elif [ "$1" = "cli" ]; then |
20 | npm run build:server | 20 | npm run build:server |
21 | CC=gcc-4.9 CXX=g++-4.9 npm run setup:cli | 21 | CC=gcc-4.9 CXX=g++-4.9 npm run setup:cli |
22 | mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/cli/index.ts | 22 | mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail server/tests/cli/index.ts |
23 | elif [ "$1" = "api-1" ]; then | 23 | elif [ "$1" = "api-1" ]; then |
24 | npm run build:server | 24 | npm run build:server |
25 | sh ./server/tests/api/ci-1.sh 2 | 25 | sh ./server/tests/api/ci-1.sh 2 |