aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/test.sh
diff options
context:
space:
mode:
authorLéo Andrès <leo@ndrs.fr>2018-03-27 09:35:12 +0100
committerChocobozzz <me@florianbigard.com>2018-03-27 10:35:12 +0200
commit0e4ffb4b678962d5ff7a4a7d8952033bc84725da (patch)
treeb116dfe4244f645aa1c4740039544010ef7c3194 /scripts/test.sh
parentd5b7d9110dd637a7f67ce9e430145314812a8df1 (diff)
downloadPeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.gz
PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.zst
PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.zip
Clean shell scripts (#398)
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-xscripts/test.sh8
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
3npm run build:server || exit -1 3set -eu
4npm run travis -- lint || exit -1 4
5npm run build:server
6npm run travis -- lint
5 7
6mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts 8mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts