From 1297eb5db651a230474670c5da1517862fb9cc3e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 22 Aug 2018 16:15:35 +0200 Subject: Add refresh video on search --- scripts/travis.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/travis.sh b/scripts/travis.sh index 390500ed4..c2785ffa7 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -12,19 +12,22 @@ killall -q peertube || true if [ "$1" = "misc" ]; then npm run build mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/client.ts server/tests/activitypub.ts \ - server/tests/feeds/feeds.ts + server/tests/feeds/index.ts elif [ "$1" = "api" ]; then npm run build:server mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index.ts elif [ "$1" = "cli" ]; then npm run build:server mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/cli/index.ts -elif [ "$1" = "api-fast" ]; then +elif [ "$1" = "api-1" ]; then npm run build:server - mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-fast.ts -elif [ "$1" = "api-slow" ]; then + mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-1.ts +elif [ "$1" = "api-2" ]; then npm run build:server - mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-slow.ts + mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-2.ts +elif [ "$1" = "api-3" ]; then + npm run build:server + mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts elif [ "$1" = "lint" ]; then ( cd client npm run lint -- cgit v1.2.3