run tests on linux only for plotljs and on all platforms for gr

This commit is contained in:
Daniel Schwabeneder 2017-05-31 20:16:17 +02:00
parent 3c6d8e1ec9
commit 69e88a519c

View File

@ -23,10 +23,8 @@ facts("GR") do
@fact gr() --> Plots.GRBackend() @fact gr() --> Plots.GRBackend()
@fact backend() --> Plots.GRBackend() @fact backend() --> Plots.GRBackend()
if is_linux() # && isinteractive()
image_comparison_facts(:gr, eps=img_eps) image_comparison_facts(:gr, eps=img_eps)
end end
end
facts("PyPlot") do facts("PyPlot") do
@fact pyplot() --> Plots.PyPlotBackend() @fact pyplot() --> Plots.PyPlotBackend()
@ -39,6 +37,7 @@ facts("PlotlyJS") do
@fact plotlyjs() --> Plots.PlotlyJSBackend() @fact plotlyjs() --> Plots.PlotlyJSBackend()
@fact backend() --> Plots.PlotlyJSBackend() @fact backend() --> Plots.PlotlyJSBackend()
if is_linux()
image_comparison_facts(:plotlyjs, image_comparison_facts(:plotlyjs,
skip=[ skip=[
2, # animation 2, # animation
@ -48,6 +47,7 @@ facts("PlotlyJS") do
], ],
eps=img_eps) eps=img_eps)
end end
end
facts("InspectDR") do facts("InspectDR") do
@fact inspectdr() --> Plots.InspectDRBackend() @fact inspectdr() --> Plots.InspectDRBackend()