From a1fb659b8e61f43e4693e54e730f35419b553cdf Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Tue, 21 Apr 2020 10:04:04 -0700 Subject: [PATCH] Run npm builds in Travis tests --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7efdc89..85a0aa8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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