]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/test.sh
Only display homepage when components are loaded
[github/Chocobozzz/PeerTube.git] / scripts / test.sh
index ee7f6e87581dd9b03750a8d41f86e3c440e5fcd8..01b259fe248ef92985c97e329bff09c86521c24e 100755 (executable)
@@ -1,6 +1,16 @@
-#!/bin/bash
+#!/bin/sh
 
-npm run build:server || exit -1
-npm run travis -- lint || exit -1
+set -eu
 
-mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts
+npm run build:server
+npm run setup:cli
+
+npm run ci -- lint
+
+npm run ci -- client
+npm run ci -- cli-plugin
+npm run ci -- api-1
+npm run ci -- api-2
+npm run ci -- api-3
+npm run ci -- api-4
+npm run ci -- external-plugins