diff options
author | Léo Andrès <leo@ndrs.fr> | 2018-03-27 09:35:12 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-27 10:35:12 +0200 |
commit | 0e4ffb4b678962d5ff7a4a7d8952033bc84725da (patch) | |
tree | b116dfe4244f645aa1c4740039544010ef7c3194 /scripts/test.sh | |
parent | d5b7d9110dd637a7f67ce9e430145314812a8df1 (diff) | |
download | PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.gz PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.zst PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.zip |
Clean shell scripts (#398)
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-x | scripts/test.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/test.sh b/scripts/test.sh index ee7f6e875..cf8895365 100755 --- a/scripts/test.sh +++ b/scripts/test.sh | |||
@@ -1,6 +1,8 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/sh |
2 | 2 | ||
3 | npm run build:server || exit -1 | 3 | set -eu |
4 | npm run travis -- lint || exit -1 | 4 | |
5 | npm run build:server | ||
6 | npm run travis -- lint | ||
5 | 7 | ||
6 | mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts | 8 | mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts |