From 05076dacc430d1f2d74692822ff4825e6657f9f0 Mon Sep 17 00:00:00 2001 From: Giorgio Calderone Date: Mon, 28 Aug 2017 19:44:52 +0200 Subject: [PATCH] Try to use gnuplot>=4.7 on Travis --- .travis.yml | 10 ++++++---- src/GnuplotInternals.jl | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 01b72c6..df6efda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ os: - osx julia: - 0.6 + - nightly notifications: email: false git: @@ -12,15 +13,16 @@ git: ## uncomment the following lines to allow failures on nightly julia ## (tests will run but not make your overall status red) -#matrix: -# allow_failures: -# - julia: nightly +matrix: + allow_failures: + - julia: nightly ## uncomment and modify the following lines to manually install system packages addons: apt: # apt-get for linux packages: - - gnuplot + - gnuplot>=4.7 + before_script: # homebrew for mac - if [ $TRAVIS_OS_NAME = osx ]; then brew install gnuplot; fi diff --git a/src/GnuplotInternals.jl b/src/GnuplotInternals.jl index 58c003a..6bd09b6 100644 --- a/src/GnuplotInternals.jl +++ b/src/GnuplotInternals.jl @@ -122,7 +122,7 @@ function checkGnuplotVersion() end end - if ver < v"4.6" + if ver < v"4.7" error("gnuplot ver. >= 4.7 is required, but " * string(ver) * " was found.") end log(1, "Found gnuplot version: " * string(ver))