language: ruby

sudo: false

rvm:
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.1

gemfile:
  - test/gemfiles/prawn-2.1
  - test/gemfiles/prawn-2.2

script: bundle exec rake test

language: ruby

sudo: false

rvm:
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.1

gemfile:
  - test/gemfiles/prawn-2.1
  - test/gemfiles/prawn-2.2

before_install:
  - sudo apt-get install make automake g++ libpoppler-glib-dev poppler-utils libwxgtk3.0-dev
  - git clone https://github.com/vslavik/diff-pdf.git /tmp/diff-pdf-src
  - cd /tmp/diff-pdf-src
  - ./bootstrap && ./configure && make && sudo make install
  - diff-pdf --help
  - cd $TRAVIS_BUILD_DIR

script: bundle exec rake test

Install diff-pdf before building on CI
Install diff-pdf before building on CI
