aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 270a2b5bc..7b5c3f2bb 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -9,6 +9,8 @@ fi
9 9
10killall -q peertube || true 10killall -q peertube || true
11 11
12perl -0777 -i -pe 's#(proxy:\n\s+enabled: false\n\s+)url: ""#$1url: "'"$PROXY_URL"'"#' config/test.yaml
13
12if [ "$1" = "misc" ]; then 14if [ "$1" = "misc" ]; then
13 npm run build -- --light-fr 15 npm run build -- --light-fr
14 mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail server/tests/client.ts \ 16 mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail server/tests/client.ts \
@@ -40,3 +42,5 @@ elif [ "$1" = "lint" ]; then
40 npm run lint 42 npm run lint
41 ) 43 )
42fi 44fi
45
46git checkout -- config/test.yaml