language: ruby
sudo: false
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - jruby-1.7.25
  - jruby-9.0.5.0
  - jruby-9.1.2.0
  - jruby-head
before_install:
  - gem query -i -n ^bundler$ > /dev/null || gem install --no-ri --no-rdoc bundler
notifications:
  email:
    - uwe@kubosch.no

language: ruby
sudo: false
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - jruby-1.7.25
  - jruby-9.0.5.0
  - jruby-9.1.2.0
  - jruby-head
before_install:
  - sudo apt update && sudo apt install -y gsfonts ghostscript
  - gem query -i -n ^bundler$ > /dev/null || gem install --no-ri --no-rdoc bundler
notifications:
  email:
    - uwe@kubosch.no

Install gsfonts ghostscript to avoid font error
Install gsfonts ghostscript to avoid font error

To avoid following failure on CI, this patch install gsfonts ghostscript.

```
ERROR["test_no_legend", #<Minitest::Reporters::Suite:0x000055b94777ade8 @name="TestGruffBar">, 0.023293289999998024]
344 test_no_legend#TestGruffBar (0.02s)
345Minitest:f3daf426107cf04d8cdfbf4d091d5da6d06cb720@ error/annotate.c/RenderFreetype/1367
```
