aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-21 09:26:02 +0200
committerChocobozzz <me@florianbigard.com>2018-09-21 09:26:53 +0200
commitf2659ae0b0bae6c1b2ee4dcf331a42e440274c02 (patch)
tree034b9cfbde81e1d955bb48fcb77b147e6c8bc096 /scripts
parentae04a0ce1298ca4db8b2d0d69df36845213e5fcb (diff)
downloadPeerTube-f2659ae0b0bae6c1b2ee4dcf331a42e440274c02.tar.gz
PeerTube-f2659ae0b0bae6c1b2ee4dcf331a42e440274c02.tar.zst
PeerTube-f2659ae0b0bae6c1b2ee4dcf331a42e440274c02.zip
Upgrade tslint rules
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index 1d7ebf340..f9fd19512 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -29,13 +29,13 @@ elif [ "$1" = "api-3" ]; then
29 npm run build:server 29 npm run build:server
30 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts 30 mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/api/index-3.ts
31elif [ "$1" = "lint" ]; then 31elif [ "$1" = "lint" ]; then
32 npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
33
32 ( cd client 34 ( cd client
33 npm run lint 35 npm run lint
34 ) 36 )
35elif [ "$1" = "jest" ]; then 37elif [ "$1" = "jest" ]; then
36 ( cd client 38 ( cd client
37 npm run test 39 npm run test
38 ) 40 )
39
40 npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
41fi 41fi