]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/travis.sh
Begin import script with youtube-dl
[github/Chocobozzz/PeerTube.git] / scripts / travis.sh
index e0a59806af88057ceaa09afa99339a450f8361a5..e03f1072d369d1116a49b52e06cba4c41f507cc8 100755 (executable)
@@ -5,9 +5,9 @@ if [ $# -eq 0 ]; then
     exit -1
 fi
 
-if [ "$1" = "client" ]; then
+if [ "$1" = "misc" ]; then
     npm run build
-    mocha --exit --require ts-node/register --bail server/tests/client.ts
+    mocha --exit --require ts-node/register --bail server/tests/client.ts server/tests/activitypub.ts
 elif [ "$1" = "api" ]; then
     npm run build:server
     mocha --exit --require ts-node/register --bail server/tests/api/index.ts
@@ -25,5 +25,5 @@ elif [ "$1" = "lint" ]; then
     npm run lint || exit -1
 
     cd .. || exit -1
-    npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1
+    npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1
 fi