aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-21 16:24:06 +0200
committerChocobozzz <me@florianbigard.com>2019-10-21 16:24:06 +0200
commit4c8ef0ec684f5dd1856ec751420b1e85369fd1bf (patch)
treebb0bb0e557053b3d889090d928bdda2b34c0b1f2 /scripts/ci.sh
parente199856bb79868ba4c027cf4a26ff2bd909b3fd4 (diff)
downloadPeerTube-4c8ef0ec684f5dd1856ec751420b1e85369fd1bf.tar.gz
PeerTube-4c8ef0ec684f5dd1856ec751420b1e85369fd1bf.tar.zst
PeerTube-4c8ef0ec684f5dd1856ec751420b1e85369fd1bf.zip
Add tsconfig-paths registration to mocha
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-xscripts/ci.sh4
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
12if [ "$1" = "misc" ]; then 12if [ "$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
19elif [ "$1" = "cli" ]; then 19elif [ "$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
23elif [ "$1" = "api-1" ]; then 23elif [ "$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