Browse Source

Fix test for Julia-1.0 by omitting Poppler_jll there

pull/57/head
Mirko Bunse 4 months ago
parent
commit
0681f09479
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      .travis.yml
  2. +4
    -0
      test/runtests.jl

+ 1
- 1
.travis.yml View File

@ -5,7 +5,7 @@ coveralls: true
julia:
- 1.0
- 1.3
- 1.4
- 1.5
notifications:
email: false
before_install:


+ 4
- 0
test/runtests.jl View File

@ -6,6 +6,10 @@ svgBackends = [
"testPic.poppler.svg" => PopplerBackend(),
"testPic.dvisvgm.svg" => DVIBackend()
]
if VERSION < v"1.3"
deleteat!(svgBackends, 2)
@warn "Not testing PopplerBackend on Julia versions < 1.3"
end
# Pre-test cleanup (for repeated tests)
for file in ["testPic.pdf", "testPic.svg", "testDoc.pdf", "testDoc.tex", first.(svgBackends)...]


Loading…
Cancel
Save