]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/test.sh
Upgrade scripts and embed webpack config
[github/Chocobozzz/PeerTube.git] / scripts / test.sh
index fc607133b61c2b5184ae1c25cd6cd9dc0a15d84d..fbd62bff8942d8ea27e05575b6349fdd863cc9f3 100755 (executable)
@@ -1,8 +1,6 @@
-#!/usr/bin/env sh
+#!/bin/bash
 
-cd client || exit -1
-npm test || exit -1
+npm run build:server || exit -1
+npm run travis -- lint || exit -1
 
-cd .. || exit -1
-npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts server/**/*.ts || exit -1
-mocha --bail server/tests
+mocha --exit --require ts-node/register --bail server/tests/index.ts