blob: 7ff429e6947c1a302dfb3d2e4a31ee46a9b0ad58 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
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
|