Try to use gnuplot>=4.7 on Travis

This commit is contained in:
Giorgio Calderone 2017-08-28 19:44:52 +02:00
parent 9e9f9c0d95
commit 05076dacc4
2 changed files with 7 additions and 5 deletions

View File

@ -5,6 +5,7 @@ os:
- osx - osx
julia: julia:
- 0.6 - 0.6
- nightly
notifications: notifications:
email: false email: false
git: git:
@ -12,15 +13,16 @@ git:
## uncomment the following lines to allow failures on nightly julia ## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red) ## (tests will run but not make your overall status red)
#matrix: matrix:
# allow_failures: allow_failures:
# - julia: nightly - julia: nightly
## uncomment and modify the following lines to manually install system packages ## uncomment and modify the following lines to manually install system packages
addons: addons:
apt: # apt-get for linux apt: # apt-get for linux
packages: packages:
- gnuplot - gnuplot>=4.7
before_script: # homebrew for mac before_script: # homebrew for mac
- if [ $TRAVIS_OS_NAME = osx ]; then brew install gnuplot; fi - if [ $TRAVIS_OS_NAME = osx ]; then brew install gnuplot; fi

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))