diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 4 |
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 | ||
10 | killall -q peertube || true | 10 | killall -q peertube || true |
11 | 11 | ||
12 | perl -0777 -i -pe 's#(proxy:\n\s+enabled: false\n\s+)url: ""#$1url: "'"$PROXY_URL"'"#' config/test.yaml | ||
13 | |||
12 | if [ "$1" = "misc" ]; then | 14 | if [ "$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 | ) |
42 | fi | 44 | fi |
45 | |||
46 | git checkout -- config/test.yaml | ||