summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: f115ca38c50af85c150a41881c30922a6393a08d (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
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.3
- 2.5.5
- 2.4.6
- 2.3.8
- jruby-9.2.7.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
  - SOURCE_DATE_EPOCH=1521504000
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