completely skip plotlys and inspectdr tests

This commit is contained in:
Daniel Schwabeneder 2017-06-01 21:23:08 +02:00
parent 29ea308da4
commit fe805e2e6d
2 changed files with 35 additions and 31 deletions

View File

@ -41,38 +41,42 @@ end
# The plotlyjs testimages return a connection error on travis: # The plotlyjs testimages return a connection error on travis:
# connect: connection refused (ECONNREFUSED) # connect: connection refused (ECONNREFUSED)
facts("PlotlyJS") do # facts("PlotlyJS") do
@fact plotlyjs() --> Plots.PlotlyJSBackend() # @fact plotlyjs() --> Plots.PlotlyJSBackend()
@fact backend() --> Plots.PlotlyJSBackend() # @fact backend() --> Plots.PlotlyJSBackend()
#
# if is_linux() && isinteractive()
# image_comparison_facts(:plotlyjs,
# skip=[
# 2, # animation (skipped for speed)
# 27, # (polar plots) takes very long / not working
# 31, # animation (skipped for speed)
# ],
# eps=img_eps)
# end
# end
if is_linux() && isinteractive() # InspectDR returns that error on travis:
image_comparison_facts(:plotlyjs, # ERROR: LoadError: InitError: Cannot open display:
skip=[ # in Gtk.GLib.GError(::Gtk.##229#230) at /home/travis/.julia/v0.5/Gtk/src/GLib/gerror.jl:17
2, # animation (skipped for speed)
27, # (polar plots) takes very long / not working
31, # animation (skipped for speed)
],
eps=img_eps)
end
end
facts("InspectDR") do # facts("InspectDR") do
@fact inspectdr() --> Plots.InspectDRBackend() # @fact inspectdr() --> Plots.InspectDRBackend()
@fact backend() --> Plots.InspectDRBackend() # @fact backend() --> Plots.InspectDRBackend()
#
image_comparison_facts(:inspectdr, # image_comparison_facts(:inspectdr,
skip=[ # skip=[
2, # animation # 2, # animation
6, # heatmap not defined # 6, # heatmap not defined
10, # heatmap not defined # 10, # heatmap not defined
22, # contour not defined # 22, # contour not defined
23, # pie not defined # 23, # pie not defined
27, # polar plot not working # 27, # polar plot not working
28, # heatmap not defined # 28, # heatmap not defined
31, # animation # 31, # animation
], # ],
eps=img_eps) # eps=img_eps)
end # end
# facts("Plotly") do # facts("Plotly") do
# @fact plotly() --> Plots.PlotlyBackend() # @fact plotly() --> Plots.PlotlyBackend()

View File

@ -26,6 +26,6 @@ ENV["PYTHON"] = ""
Pkg.add("PyPlot") Pkg.add("PyPlot")
Pkg.build("PyPlot") Pkg.build("PyPlot")
Pkg.add("InspectDR") # Pkg.add("InspectDR")
Pkg.test("Plots"; coverage=false) Pkg.test("Plots"; coverage=false)