diff options
Diffstat (limited to 'scripts/travis.sh')
-rwxr-xr-x | scripts/travis.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh index f6cdda463..e0a59806a 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh | |||
@@ -14,6 +14,12 @@ elif [ "$1" = "api" ]; then | |||
14 | elif [ "$1" = "cli" ]; then | 14 | elif [ "$1" = "cli" ]; then |
15 | npm run build:server | 15 | npm run build:server |
16 | mocha --exit --require ts-node/register --bail server/tests/cli/index.ts | 16 | mocha --exit --require ts-node/register --bail server/tests/cli/index.ts |
17 | elif [ "$1" = "api-fast" ]; then | ||
18 | npm run build:server | ||
19 | mocha --exit --require ts-node/register --bail server/tests/api/index-fast.ts | ||
20 | elif [ "$1" = "api-slow" ]; then | ||
21 | npm run build:server | ||
22 | mocha --exit --require ts-node/register --bail server/tests/api/index-slow.ts | ||
17 | elif [ "$1" = "lint" ]; then | 23 | elif [ "$1" = "lint" ]; then |
18 | cd client || exit -1 | 24 | cd client || exit -1 |
19 | npm run lint || exit -1 | 25 | npm run lint || exit -1 |