diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 17:33:23 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 17:33:23 +0100 |
commit | 1b6b4757727da56061da0e17e7479f6062bb139f (patch) | |
tree | 9c673238153349978a0b77d52b4592cd6b7d950c /scripts/test.sh | |
parent | 18530063feb3326369bf3871248b04de0ce4d2af (diff) | |
download | PeerTube-1b6b4757727da56061da0e17e7479f6062bb139f.tar.gz PeerTube-1b6b4757727da56061da0e17e7479f6062bb139f.tar.zst PeerTube-1b6b4757727da56061da0e17e7479f6062bb139f.zip |
Build server files before test the api
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-x | scripts/test.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/test.sh b/scripts/test.sh index 473445876..fbd62bff8 100755 --- a/scripts/test.sh +++ b/scripts/test.sh | |||
@@ -1,8 +1,6 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | npm run build:server || exit -1 | 3 | npm run build:server || exit -1 |
4 | |||
5 | npm run travis -- client || exit -1 | ||
6 | npm run travis -- api || exit -1 | ||
7 | npm run travis -- cli || exit -1 | ||
8 | npm run travis -- lint || exit -1 | 4 | npm run travis -- lint || exit -1 |
5 | |||
6 | mocha --exit --require ts-node/register --bail server/tests/index.ts | ||