aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-21 15:59:57 +0100
committerChocobozzz <me@florianbigard.com>2020-01-21 16:46:59 +0100
commitbe7ca0c6b9c51c639bac7d2da94599893e7b1c01 (patch)
tree328eadc393cd7b052f8366f888e968b561ad86c2 /scripts/ci.sh
parent5e0171daaa00d7d1409b1d2408f03468e895459b (diff)
downloadPeerTube-be7ca0c6b9c51c639bac7d2da94599893e7b1c01.tar.gz
PeerTube-be7ca0c6b9c51c639bac7d2da94599893e7b1c01.tar.zst
PeerTube-be7ca0c6b9c51c639bac7d2da94599893e7b1c01.zip
Use a proxy for youtube-dl to avoid travis errors
Diffstat (limited to 'scripts/ci.sh')
-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