diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-30 09:43:12 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-31 11:32:04 +0200 |
commit | b488ba1e26b803ac6c637e8b11bdd444ca4c803f (patch) | |
tree | 0a9ce01fcfb26ecddd8a0dccf997514818b8a72f /scripts/ci.sh | |
parent | b9fe9a7ffdf80d81c5580ccccfeb989051fd9d8a (diff) | |
download | PeerTube-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-x | scripts/ci.sh | 2 |
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 |
22 | elif [ "$1" = "cli" ]; then | 22 | elif [ "$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 |
26 | elif [ "$1" = "api-1" ]; then | 26 | elif [ "$1" = "api-1" ]; then |
27 | npm run build:server | 27 | npm run build:server |