aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/travis.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-22 16:15:35 +0200
committerChocobozzz <me@florianbigard.com>2018-08-27 09:41:54 +0200
commit1297eb5db651a230474670c5da1517862fb9cc3e (patch)
treeecad4a0ceb0bb09e3c775262691ac68e9e0aca0c /scripts/travis.sh
parentf6eebcb336c067e160a62020a5140d8d992ba384 (diff)
downloadPeerTube-1297eb5db651a230474670c5da1517862fb9cc3e.tar.gz
PeerTube-1297eb5db651a230474670c5da1517862fb9cc3e.tar.zst
PeerTube-1297eb5db651a230474670c5da1517862fb9cc3e.zip
Add refresh video on search
Diffstat (limited to 'scripts/travis.sh')
-rwxr-xr-xscripts/travis.sh13
1 files changed, 8 insertions, 5 deletions
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
12if [ "$1" = "misc" ]; then 12if [ "$1" = "misc" ]; then
13 npm run build 13 npm run build
14 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/client.ts server/tests/activitypub.ts \ 14 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/client.ts server/tests/activitypub.ts \
15 server/tests/feeds/feeds.ts 15 server/tests/feeds/index.ts
16elif [ "$1" = "api" ]; then 16elif [ "$1" = "api" ]; then
17 npm run build:server 17 npm run build:server
18 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index.ts 18 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index.ts
19elif [ "$1" = "cli" ]; then 19elif [ "$1" = "cli" ]; then
20 npm run build:server 20 npm run build:server
21 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/cli/index.ts 21 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/cli/index.ts
22elif [ "$1" = "api-fast" ]; then 22elif [ "$1" = "api-1" ]; then
23 npm run build:server 23 npm run build:server
24 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-fast.ts 24 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-1.ts
25elif [ "$1" = "api-slow" ]; then 25elif [ "$1" = "api-2" ]; then
26 npm run build:server 26 npm run build:server
27 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-slow.ts 27 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-2.ts
28elif [ "$1" = "api-3" ]; then
29 npm run build:server
30 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts
28elif [ "$1" = "lint" ]; then 31elif [ "$1" = "lint" ]; then
29 ( cd client 32 ( cd client
30 npm run lint 33 npm run lint