Trying to fix Travis test
This commit is contained in:
parent
5ada8eab8a
commit
c5fddd9107
@ -79,9 +79,7 @@ end
|
|||||||
blocks).
|
blocks).
|
||||||
"""
|
"""
|
||||||
function CheckGnuplotVersion(cmd::AbstractString)
|
function CheckGnuplotVersion(cmd::AbstractString)
|
||||||
setverbose(true)
|
|
||||||
icmd = `$(cmd) --version`
|
icmd = `$(cmd) --version`
|
||||||
@info "Checking gnuplot version with command: " icmd
|
|
||||||
|
|
||||||
proc = open(`$icmd`, read=true)
|
proc = open(`$icmd`, read=true)
|
||||||
s = String(read(proc))
|
s = String(read(proc))
|
||||||
@ -102,7 +100,7 @@ function CheckGnuplotVersion(cmd::AbstractString)
|
|||||||
if ver < v"4.7"
|
if ver < v"4.7"
|
||||||
error("gnuplot ver. >= 4.7 is required, but " * string(ver) * " was found.")
|
error("gnuplot ver. >= 4.7 is required, but " * string(ver) * " was found.")
|
||||||
end
|
end
|
||||||
@info " Gnuplot version: " * string(ver)
|
#@info " Gnuplot version: " * string(ver)
|
||||||
return ver
|
return ver
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
using Test, Gnuplot
|
using Test, Gnuplot
|
||||||
|
@info "Gnuplot version: " * string(Gnuplot.CheckGnuplotVersion())
|
||||||
|
CheckGnuplotVersion
|
||||||
|
Gnuplot.setverbose(true)
|
||||||
|
push!(Gnuplot.options.init, "set term unknown")
|
||||||
|
|
||||||
x = [1, 2, 3]
|
x = [1, 2, 3]
|
||||||
y = [4, 5, 6]
|
y = [4, 5, 6]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user