dist: trusty addons: apt: packages: - ghostscript - poppler-utils cache: bundler: true directories: - $HOME/.rvm git: # use depth 5 to leave enough room for concurrent builds depth: 5 language: ruby rvm: - &release_ruby 2.6.5 - 2.5.7 - 2.4.9 - &oldest_ruby 2.3.8 matrix: include: - rvm: jruby-9.2.9.0 env: JRUBY_OPTS='--dev' - rvm: jruby-9.1.17.0 env: JRUBY_OPTS='--dev' - rvm: *oldest_ruby env: ASCIIDOCTOR_VERSION=1.5.3 - rvm: *oldest_ruby env: ROUGE_VERSION='~> 2.0.0' env: global: - PYGMENTS_VERSION='~> 1.2.0' - RGHOST_VERSION='0.9.7' bundler_args: --path=.bundle/gems --jobs=3 --retry=3 --without=docs script: - bundle exec rake lint - bundle exec ruby -w $(bundle exec ruby -e "print Gem.bin_path 'rake', 'rake'") spec deploy: provider: rubygems gem: asciidoctor-pdf api_key: ${RUBYGEMS_API_KEY} on: tags: true repo: asciidoctor/asciidoctor-pdf rvm: *release_ruby