diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 17:23:57 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 17:23:57 +0100 |
commit | 18530063feb3326369bf3871248b04de0ce4d2af (patch) | |
tree | 1b40e2cdb9d322eb34765642c161aca4edcd4a74 /scripts/test.sh | |
parent | 7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9 (diff) | |
download | PeerTube-18530063feb3326369bf3871248b04de0ce4d2af.tar.gz PeerTube-18530063feb3326369bf3871248b04de0ce4d2af.tar.zst PeerTube-18530063feb3326369bf3871248b04de0ce4d2af.zip |
Try matrix to speed up travis builds
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-x | scripts/test.sh | 12 |
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 | ||
3 | npm run build:server | 3 | npm run build:server || exit -1 |
4 | 4 | ||
5 | cd client || exit -1 | 5 | npm run travis -- client || exit -1 |
6 | npm test || exit -1 | 6 | npm run travis -- api || exit -1 |
7 | 7 | npm run travis -- cli || exit -1 | |
8 | cd .. || exit -1 | 8 | npm run travis -- lint || exit -1 |
9 | npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1 | ||
10 | mocha --exit --require ts-node/register --bail server/tests/index.ts | ||