diff --git a/.travis.yml b/.travis.yml index 3e587758e0..f8d546fc05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ before_install: - sudo apt-get update - sudo apt-get install -y cmake libssh2-1-dev ghostscript - sudo apt-get install imagemagick libmagickwand-dev + - nvm install 11.0 install: - travis_wait bundle install --path=~/.bundle --jobs=3 --retry=3 --without development production console @@ -25,7 +26,7 @@ before_script: - sudo ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime - bundle exec rake i18n:js:export - chmod u+x bin/webpack - - RAILS_ENV=test bundle exec rake webpacker:compile + - NODE_ENV=test RAILS_ENV=test bundle exec rake webpacker:compile - psql -c 'create database markus_test;' -U postgres - bundle exec rake db:migrate RAILS_ENV=test diff --git a/Gemfile.lock b/Gemfile.lock index 8f6b048aed..c7fe6a36ee 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -168,7 +168,7 @@ GEM mysql2 (0.5.3) net-ssh (5.2.0) nio4r (2.5.2) - nokogiri (1.10.5) + nokogiri (1.10.7) mini_portile2 (~> 2.4.0) parallel (1.19.1) parser (2.6.5.0) @@ -342,7 +342,7 @@ GEM upsert (2.2.1) vegas (0.1.11) rack (>= 1.0.0) - webpacker (4.0.7) + webpacker (4.2.2) activesupport (>= 4.2) rack-proxy (>= 0.6.1) railties (>= 4.2)