]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/test.sh
Add FreeBSD documentation
[github/Chocobozzz/PeerTube.git] / scripts / test.sh
index 701dea8d04baee8bd8cc84d3f82cf486c4311b77..ee7f6e87581dd9b03750a8d41f86e3c440e5fcd8 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 server/tests
+mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts