Skip to content

Commit

Permalink
Cloud not make JRuby build pass on Xenial, reverting back to Trusty
Browse files Browse the repository at this point in the history
https://travis-ci.org/carrierwaveuploader/carrierwave/builds/583003552

When we try Xenial next time, we need following sinppet in before_script:
- sudo sed -ie 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
  • Loading branch information
mshibuya committed Oct 3, 2020
1 parent 0cbea95 commit c3c652a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist: trusty

language: ruby

cache: bundler
Expand All @@ -8,7 +10,7 @@ rvm:
- 2.4.5
- 2.5.3
- 2.6.0
- jruby-9.2.5.0
- jruby-9.2.8.0

gemfile:
- gemfiles/rails-4-0.gemfile
Expand All @@ -27,7 +29,6 @@ before_install:

before_script:
- psql -c 'create database carrierwave_test;' -U postgres
- sudo sh -c 'echo '\''<policymap><policy domain="coder" rights="read|write" pattern="PDF" /></policymap>'\'' > /etc/ImageMagick-6/policy.xml'

matrix:
include:
Expand Down Expand Up @@ -68,9 +69,9 @@ matrix:
gemfile: gemfiles/rails-4-1.gemfile
- rvm: 2.6.0
gemfile: gemfiles/rails-4-2.gemfile
- rvm: jruby-9.2.5.0
- rvm: jruby-9.2.8.0
gemfile: gemfiles/rails-4-0.gemfile
- rvm: jruby-9.2.5.0
- rvm: jruby-9.2.8.0
gemfile: gemfiles/rails-4-1.gemfile
allow_failures:
- rvm: ruby-head
Expand Down

0 comments on commit c3c652a

Please sign in to comment.