Try again with gnuplot5

This commit is contained in:
Giorgio Calderone 2017-08-29 01:38:50 +02:00
parent 3046d2a430
commit f3864f706f
3 changed files with 5 additions and 5 deletions

View File

@ -21,10 +21,10 @@ matrix:
#addons: #addons:
# apt: # apt-get for linux # apt: # apt-get for linux
# packages: # packages:
# - gnuplot>=4.7 # - gnuplot
before_script: # homebrew for mac before_script: # homebrew for mac
- if [ $TRAVIS_OS_NAME = osx ]; then brew install gnuplot; else sudo apt-get install gnuplot>=4.7; fi - if [ $TRAVIS_OS_NAME = osx ]; then brew install gnuplot; else sudo apt-get install gnuplot5; fi
## uncomment the following lines to override the default test script ## uncomment the following lines to override the default test script
#script: #script:

View File

@ -423,8 +423,8 @@ gp.dump()
will be appended); will be appended);
""" """
function data(data::Vararg{AbstractArray{T,1},N}; function data(data::Vararg{AbstractArray{T,1},N};
name::Union{Void,String}=nothing, name::Union{Void,String}=nothing,
prefix::Union{Void,String}=nothing) where {T<:Number,N} prefix::Union{Void,String}=nothing) where {T<:Number,N}
p_.getProcOrStartIt() p_.getProcOrStartIt()
cur = p_.main.states[p_.main.curPos] cur = p_.main.states[p_.main.curPos]

View File

@ -122,7 +122,7 @@ function checkGnuplotVersion()
end end
end end
if ver < v"4.6" 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
log(1, "Found gnuplot version: " * string(ver)) log(1, "Found gnuplot version: " * string(ver))