diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-21 09:26:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-21 09:26:53 +0200 |
commit | f2659ae0b0bae6c1b2ee4dcf331a42e440274c02 (patch) | |
tree | 034b9cfbde81e1d955bb48fcb77b147e6c8bc096 /scripts/travis.sh | |
parent | ae04a0ce1298ca4db8b2d0d69df36845213e5fcb (diff) | |
download | PeerTube-f2659ae0b0bae6c1b2ee4dcf331a42e440274c02.tar.gz PeerTube-f2659ae0b0bae6c1b2ee4dcf331a42e440274c02.tar.zst PeerTube-f2659ae0b0bae6c1b2ee4dcf331a42e440274c02.zip |
Upgrade tslint rules
Diffstat (limited to 'scripts/travis.sh')
-rwxr-xr-x | scripts/travis.sh | 6 |
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 |
31 | elif [ "$1" = "lint" ]; then | 31 | elif [ "$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 | ) |
35 | elif [ "$1" = "jest" ]; then | 37 | elif [ "$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" | ||
41 | fi | 41 | fi |