summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 2205f9eb69298b6a024a231fdfa3b64bbfed0515 (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
dist: trusty
git:
  # use depth 2 just in case two refs get pushed at once (like a tag)
  depth: 2
language: ruby
rvm:
- &release_ruby 2.6.1
- 2.5.3
- 2.4.5
- 2.3.8
- jruby-9.2.6.0
- jruby-9.1.17.0
# the test suite currently crashes on truffleruby
#- truffleruby-rc13
env:
  global:
  # use system libraries to speed up installation of nokogiri
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
  - PYGMENTS=true
script: bundle exec rake coverage test:all
after_success: bundle exec rake build:dependents
#notifications:
#  email: false
#  irc: 'irc.freenode.org#asciidoctor'
deploy:
  provider: rubygems
  gem: asciidoctor
  api_key: ${RUBYGEMS_API_KEY}
  on:
    tags: true
    repo: asciidoctor/asciidoctor
    rvm: *release_ruby