aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/travis.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-16 10:55:29 +0200
committerChocobozzz <me@florianbigard.com>2018-10-16 16:41:36 +0200
commit26370ce469913f48b1c10b91d68ac8cb67586ce1 (patch)
treee01c9a35a2cc7508694dab9c0f9828f750389ae2 /scripts/travis.sh
parentfd28a0fc8833c8cfe1017a88fbda141130b2d263 (diff)
downloadPeerTube-26370ce469913f48b1c10b91d68ac8cb67586ce1.tar.gz
PeerTube-26370ce469913f48b1c10b91d68ac8cb67586ce1.tar.zst
PeerTube-26370ce469913f48b1c10b91d68ac8cb67586ce1.zip
Move redundancy in its own travis container
Diffstat (limited to 'scripts/travis.sh')
-rwxr-xr-xscripts/travis.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index 628039ab7..ae4a9f926 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -31,6 +31,9 @@ elif [ "$1" = "api-2" ]; then
31elif [ "$1" = "api-3" ]; then 31elif [ "$1" = "api-3" ]; then
32 npm run build:server 32 npm run build:server
33 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts 33 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts
34elif [ "$1" = "api-3" ]; then
35 npm run build:server
36 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-4.ts
34elif [ "$1" = "lint" ]; then 37elif [ "$1" = "lint" ]; then
35 npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts" 38 npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
36 39