aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-30 09:43:12 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-07-31 11:32:04 +0200
commitb488ba1e26b803ac6c637e8b11bdd444ca4c803f (patch)
tree0a9ce01fcfb26ecddd8a0dccf997514818b8a72f /scripts/ci.sh
parentb9fe9a7ffdf80d81c5580ccccfeb989051fd9d8a (diff)
downloadPeerTube-b488ba1e26b803ac6c637e8b11bdd444ca4c803f.tar.gz
PeerTube-b488ba1e26b803ac6c637e8b11bdd444ca4c803f.tar.zst
PeerTube-b488ba1e26b803ac6c637e8b11bdd444ca4c803f.zip
Don't rely on youtube for tests
Use another import URL when possible, and disable import tests when we want to do a youtube import test
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-xscripts/ci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh
index f5bd0bdc9..cef276da3 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -21,7 +21,7 @@ if [ "$1" = "misc" ]; then
21 server/tests/plugins/index.ts 21 server/tests/plugins/index.ts
22elif [ "$1" = "cli" ]; then 22elif [ "$1" = "cli" ]; then
23 npm run build:server 23 npm run build:server
24 CC=gcc-4.9 CXX=g++-4.9 npm run setup:cli 24 npm run setup:cli
25 mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail server/tests/cli/index.ts 25 mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail server/tests/cli/index.ts
26elif [ "$1" = "api-1" ]; then 26elif [ "$1" = "api-1" ]; then
27 npm run build:server 27 npm run build:server