]> git.localhorst.tv Git - alttp.git/blob - ci.sh
universal examples
[alttp.git] / ci.sh
1 #!/bin/sh
2
3 composer -nq install
4 php artisan key:generate
5 php artisan migrate:fresh
6 npm clean-install
7 npm run production
8 XDEBUG_MODE=coverage nice php artisan test --without-tty --coverage-html /var/www/coverage/alttp/php
9 nice npm run test -- --coverage --coverageDirectory /var/www/coverage/alttp/js --coverageReporters html --collectCoverageFrom 'resources/js/**'