diff --git a/.travis.yml b/.travis.yml index 92cef38c..8d2c3430 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ sudo: false +distro: focal language: ruby -addons: - chrome: stable services: - redis-server - postgresql @@ -24,8 +23,8 @@ before_script: - '(cd .downloads; [ -d prince-9.0r5-linux-amd64-static ] || curl -s https://www.princexml.com/download/prince-9.0r5-linux-amd64-static.tar.gz | tar xzf -)' - echo $PWD | ./.downloads/prince-9.0r5-linux-amd64-static/install.sh - npm install -- npx @puppeteer/browsers install chromedriver@123.0.6312.86 --path $PWD/bin -- export PATH=$PWD/bin/chromedriver/linux-123.0.6312.86/chromedriver-linux64:$PATH +- "npx @puppeteer/browsers install chromedriver@${CHROMEDRIVER} --path $PWD/bin" +- "export PATH=$PWD/bin/chromedriver/linux-${CHROMEDRIVER}/chromedriver-linux64:$PATH" - './bin/rake db:setup RAILS_ENV=test' notifications: slack: diff --git a/Gemfile b/Gemfile index 2b3b1522..2e02b1f3 100644 --- a/Gemfile +++ b/Gemfile @@ -24,7 +24,7 @@ source 'https://rubygems.org' do # rubocop:disable Metrics/BlockLength gem 'net-http' gem 'net-sftp' gem 'notifications-ruby-client' - gem 'output-templates', github: 'guidance-guarantee-programme/output-templates', ref: 'd5ab5a3' + gem 'output-templates', github: 'guidance-guarantee-programme/output-templates', ref: '719b9ee' gem 'pg' gem 'plek' gem 'postgres-copy' diff --git a/Gemfile.lock b/Gemfile.lock index 9c7d9ffb..0b041603 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GIT remote: https://github.com/guidance-guarantee-programme/output-templates.git - revision: d5ab5a3dbd057529cb0ac89a0947366e57217370 - ref: d5ab5a3 + revision: 719b9ee1105b09b43784f653fbe0fa0211e85927 + ref: 719b9ee specs: output-templates (6.12.0) actionview @@ -106,7 +106,7 @@ GEM sass (>= 3.3.0) bugsnag (6.26.0) concurrent-ruby (~> 1.0) - builder (3.2.4) + builder (3.3.0) byebug (11.1.3) capybara (3.39.2) addressable @@ -120,7 +120,7 @@ GEM case_transform (0.2) activesupport coderay (1.1.3) - concurrent-ruby (1.2.3) + concurrent-ruby (1.3.3) connection_pool (2.4.1) crass (1.0.6) database_rewinder (0.9.8) @@ -180,7 +180,7 @@ GEM plek (>= 2.1.0) rails (>= 3.2.0) hashie (5.0.0) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) jquery-rails (4.3.5) rails-dom-testing (>= 1, < 3) @@ -218,8 +218,8 @@ GEM actionpack (>= 3.2.0, < 7.1) method_source (1.0.0) mini_mime (1.1.5) - mini_portile2 (2.8.5) - minitest (5.22.2) + mini_portile2 (2.8.7) + minitest (5.23.1) msgpack (1.7.2) multi_json (1.15.0) multi_xml (0.6.0) @@ -243,7 +243,7 @@ GEM net-protocol net-ssh (5.0.2) nio4r (2.7.0) - nokogiri (1.16.2) + nokogiri (1.16.5) mini_portile2 (~> 2.8.2) racc (~> 1.4) notifications-ruby-client (2.6.0) @@ -267,7 +267,7 @@ GEM parser (3.2.2.3) ast (~> 2.4.1) racc - pg (1.5.4) + pg (1.5.6) plek (2.1.1) postgres-copy (1.4.1) activerecord (>= 5.1) @@ -283,7 +283,7 @@ GEM public_suffix (5.0.3) puma (6.4.2) nio4r (~> 2.0) - racc (1.7.3) + racc (1.8.0) rack (2.2.8.1) rack-cors (1.1.1) rack (>= 2.0.0) @@ -445,7 +445,7 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.13) + zeitwerk (2.6.15) PLATFORMS ruby