From 15f25480dddca4ad2af10f1bb96b4c8858cd4335 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 31 Oct 2017 17:50:28 +0100 Subject: Split slow and fast api tests for travis --- scripts/travis.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/travis.sh') 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 elif [ "$1" = "cli" ]; then npm run build:server mocha --exit --require ts-node/register --bail server/tests/cli/index.ts +elif [ "$1" = "api-fast" ]; then + npm run build:server + mocha --exit --require ts-node/register --bail server/tests/api/index-fast.ts +elif [ "$1" = "api-slow" ]; then + npm run build:server + mocha --exit --require ts-node/register --bail server/tests/api/index-slow.ts elif [ "$1" = "lint" ]; then cd client || exit -1 npm run lint || exit -1 -- cgit v1.2.3