From f0e3644d5607eb5ff7d93afa349ee818b057266d Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Thu, 5 Mar 2020 22:08:47 +0100 Subject: [PATCH] Add npm to Travis-CI setup to generate assets and mix-manifest during build --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 70777ffd..cf2af32f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,10 @@ before_script: - composer self-update - composer install --no-interaction - php artisan key:generate + - nvm install node + - npm install npm@latest -g + - npm install script: -- vendor/bin/phpunit \ No newline at end of file + - npm run dev + - vendor/bin/phpunit \ No newline at end of file