Run npm builds in Travis tests

This commit is contained in:
Chris Kankiewicz
2020-04-21 10:04:04 -07:00
parent 921a27e230
commit a1fb659b8e

View File

@@ -14,11 +14,15 @@ jobs:
cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm
- app/vendor
install: composer install
install:
- composer install
- npm ci
script:
- app/vendor/bin/php-cs-fixer fix --diff --dry-run
- app/vendor/bin/psalm --show-info=true
- app/vendor/bin/phpunit --coverage-text
- npm run production