diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-16 10:55:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-16 16:41:36 +0200 |
commit | 26370ce469913f48b1c10b91d68ac8cb67586ce1 (patch) | |
tree | e01c9a35a2cc7508694dab9c0f9828f750389ae2 /scripts/travis.sh | |
parent | fd28a0fc8833c8cfe1017a88fbda141130b2d263 (diff) | |
download | PeerTube-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-x | scripts/travis.sh | 3 |
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 | |||
31 | elif [ "$1" = "api-3" ]; then | 31 | elif [ "$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 |
34 | elif [ "$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 | ||
34 | elif [ "$1" = "lint" ]; then | 37 | elif [ "$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 | ||