forked from asciidoctor/asciidoctor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 1.14 KB
/
.travis.yml
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
dist: trusty
git:
# use depth 2 just in case two refs get pushed at once (like a tag)
depth: 2
language: ruby
rvm:
- 2.7.0
- &release_ruby 2.6.5
- 2.5.7
- 2.4.9
- &oldest_ruby 2.3.8
matrix:
include:
- rvm: jruby-9.2.10.0
env: JRUBY_OPTS='--dev'
- rvm: jruby-9.1.17.0
env: JRUBY_OPTS='--dev'
- rvm: *oldest_ruby
env: ROUGE_VERSION='~> 2.0.0'
- rvm: truffleruby-19.3.0
# run against TruffleRuby nightly or if truffleruby is mentioned in commit message
if: type = cron OR commit_message =~ /truffleruby/
env:
# use 3g to avoid OutOfMemoryError when running the tests suite against TruffleRuby
- TRUFFLERUBYOPT="--vm.Xmx3g"
env:
global:
# use system libraries to speed up installation of nokogiri
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- PYGMENTS_VERSION='~> 1.2.0'
- 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