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 Sep 11, 2019
1 parent b2bd43b commit c4b6d91
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
dist: trusty

language: ruby

cache: bundler

rvm:
- 2.5.5
- 2.6.2
- jruby-9.2.6.0
- jruby-9.2.8.0

gemfile:
- gemfiles/rails-5-2.gemfile
Expand All @@ -18,7 +20,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 All @@ -39,7 +40,7 @@ matrix:
- rvm: jruby-head
gemfile: gemfiles/rails-5-2.gemfile
exclude:
- rvm: jruby-9.2.6.0
- rvm: jruby-9.2.8.0
gemfile: gemfiles/rails-6-0.gemfile
allow_failures:
- rvm: ruby-head
Expand Down

1 comment on commit c4b6d91

@fukayatsu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💚💚💚
🎉 🎉 🎉

Please sign in to comment.