aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-xscripts/test.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index dc1baf97d..473445876 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -1,10 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2 2
3npm run build:server 3npm run build:server || exit -1
4 4
5cd client || exit -1 5npm run travis -- client || exit -1
6npm test || exit -1 6npm run travis -- api || exit -1
7 7npm run travis -- cli || exit -1
8cd .. || exit -1 8npm run travis -- lint || exit -1
9npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1
10mocha --exit --require ts-node/register --bail server/tests/index.ts