diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-22 16:15:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | 1297eb5db651a230474670c5da1517862fb9cc3e (patch) | |
tree | ecad4a0ceb0bb09e3c775262691ac68e9e0aca0c /scripts | |
parent | f6eebcb336c067e160a62020a5140d8d992ba384 (diff) | |
download | PeerTube-1297eb5db651a230474670c5da1517862fb9cc3e.tar.gz PeerTube-1297eb5db651a230474670c5da1517862fb9cc3e.tar.zst PeerTube-1297eb5db651a230474670c5da1517862fb9cc3e.zip |
Add refresh video on search
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis.sh | 13 |
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 | |||
12 | if [ "$1" = "misc" ]; then | 12 | if [ "$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 |
16 | elif [ "$1" = "api" ]; then | 16 | elif [ "$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 |
19 | elif [ "$1" = "cli" ]; then | 19 | elif [ "$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 |
22 | elif [ "$1" = "api-fast" ]; then | 22 | elif [ "$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 |
25 | elif [ "$1" = "api-slow" ]; then | 25 | elif [ "$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 |
28 | elif [ "$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 | ||
28 | elif [ "$1" = "lint" ]; then | 31 | elif [ "$1" = "lint" ]; then |
29 | ( cd client | 32 | ( cd client |
30 | npm run lint | 33 | npm run lint |