]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/travis.sh
Fix video views increment
[github/Chocobozzz/PeerTube.git] / scripts / travis.sh
index c2785ffa76bcd8adf797a70d35041900962367ea..1d7ebf3403d890115aaeb22e91806a70108a459e 100755 (executable)
@@ -10,7 +10,7 @@ fi
 killall -q peertube || true
 
 if [ "$1" = "misc" ]; then
-    npm run build
+    npm run build -- --light-fr
     mocha --timeout 5000 --exit --require ts-node/register/type-check --bail server/tests/client.ts server/tests/activitypub.ts \
         server/tests/feeds/index.ts
 elif [ "$1" = "api" ]; then
@@ -32,6 +32,10 @@ elif [ "$1" = "lint" ]; then
     ( cd client
       npm run lint
     )
+elif [ "$1" = "jest" ]; then 
+    ( cd client
+      npm run test
+    )
 
     npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
 fi