Minor changes
This commit is contained in:
parent
16d88414a4
commit
8dac542bdb
10
.travis.yml
10
.travis.yml
@ -18,13 +18,13 @@ matrix:
|
|||||||
- 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
|
||||||
|
|
||||||
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-x11; fi
|
- if [ $TRAVIS_OS_NAME = osx ]; then brew install gnuplot; fi
|
||||||
|
|
||||||
## uncomment the following lines to override the default test script
|
## uncomment the following lines to override the default test script
|
||||||
#script:
|
#script:
|
||||||
|
|||||||
@ -123,6 +123,10 @@ function checkGnuplotVersion()
|
|||||||
end
|
end
|
||||||
|
|
||||||
if ver < v"4.7"
|
if ver < v"4.7"
|
||||||
|
# Do not raise error in order to pass Travis CI test, since it has v4.6
|
||||||
|
println("gnuplot ver. >= 4.7 is required, but " * string(ver) * " was found.")
|
||||||
|
end
|
||||||
|
if ver < v"4.6"
|
||||||
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))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user