From 29ea308da48cc6a349c0c02a6f9d01c1fa7f61ec Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Thu, 1 Jun 2017 20:30:55 +0200 Subject: [PATCH] skip plotlyjs images --- test/runtests.jl | 5 ++++- test/travis_commands.jl | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 2cbbca4a..d3241dcb 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -38,11 +38,14 @@ facts("PyPlot") do eps=img_eps) end +# The plotlyjs testimages return a connection error on travis: +# connect: connection refused (ECONNREFUSED) + facts("PlotlyJS") do @fact plotlyjs() --> Plots.PlotlyJSBackend() @fact backend() --> Plots.PlotlyJSBackend() - if is_linux() + if is_linux() && isinteractive() image_comparison_facts(:plotlyjs, skip=[ 2, # animation (skipped for speed) diff --git a/test/travis_commands.jl b/test/travis_commands.jl index 8340703f..020770f8 100644 --- a/test/travis_commands.jl +++ b/test/travis_commands.jl @@ -11,12 +11,12 @@ Pkg.clone("https://github.com/JuliaPlots/PlotReferenceImages.jl.git") Pkg.clone("StatPlots") Pkg.checkout("PlotUtils") -Pkg.clone("Blink") -Pkg.build("Blink") -import Blink -Blink.AtomShell.install() -Pkg.add("Rsvg") -Pkg.add("PlotlyJS") +# Pkg.clone("Blink") +# Pkg.build("Blink") +# import Blink +# Blink.AtomShell.install() +# Pkg.add("Rsvg") +# Pkg.add("PlotlyJS") # Pkg.checkout("RecipesBase") # Pkg.clone("VisualRegressionTests")