diff options
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 |