travis and tests
This commit is contained in:
parent
0e84c91451
commit
c618e0577a
46
.travis.yml
46
.travis.yml
@ -1,27 +1,27 @@
|
|||||||
# Documentation: http://docs.travis-ci.com/user/languages/julia/
|
# Documentation: http://docs.travis-ci.com/user/languages/julia/
|
||||||
language: julia
|
language: julia
|
||||||
os:
|
# os:
|
||||||
- linux
|
# - linux
|
||||||
- osx
|
# - osx
|
||||||
julia:
|
julia:
|
||||||
- 0.4
|
- 0.4
|
||||||
#- nightly
|
#- nightly
|
||||||
|
#
|
||||||
|
#
|
||||||
addons:
|
# # addons:
|
||||||
apt:
|
# # apt:
|
||||||
packages:
|
# # packages:
|
||||||
- wkhtmltopdf
|
# # - wkhtmltopdf
|
||||||
|
# #
|
||||||
before install:
|
# # before install:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
# # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install wkhtmltopdf; fi
|
# # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install wkhtmltopdf; fi
|
||||||
|
#
|
||||||
|
#
|
||||||
# sudo: required
|
# sudo: required
|
||||||
# before_install:
|
# before_install:
|
||||||
# - sudo apt-get -qq update
|
# - sudo apt-get -qq update
|
||||||
# - sudo apt-get install wkhtmltopdf-dbg -y
|
# - sudo apt-get install -y wkhtmltopdf
|
||||||
|
|
||||||
# # borrowed from Blink.jl's travis file
|
# # borrowed from Blink.jl's travis file
|
||||||
# matrix:
|
# matrix:
|
||||||
@ -33,6 +33,16 @@ before install:
|
|||||||
# julia: 0.4
|
# julia: 0.4
|
||||||
# env: TESTCMD="julia"
|
# env: TESTCMD="julia"
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: linux
|
||||||
|
sudo: required
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get -qq update
|
||||||
|
- sudo apt-get install -y wkhtmltopdf
|
||||||
|
- os: osx
|
||||||
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: true
|
email: true
|
||||||
# uncomment the following lines to override the default test script
|
# uncomment the following lines to override the default test script
|
||||||
@ -46,8 +56,8 @@ script:
|
|||||||
# - julia -e 'Pkg.clone("https://github.com/tbreloff/ImageMagick.jl.git"); Pkg.checkout("ImageMagick","tb_write"); Pkg.build("ImageMagick")'
|
# - julia -e 'Pkg.clone("https://github.com/tbreloff/ImageMagick.jl.git"); Pkg.checkout("ImageMagick","tb_write"); Pkg.build("ImageMagick")'
|
||||||
# - julia -e 'Pkg.clone("https://github.com/tbreloff/VisualRegressionTests.jl.git");'
|
# - julia -e 'Pkg.clone("https://github.com/tbreloff/VisualRegressionTests.jl.git");'
|
||||||
- julia -e 'Pkg.clone("https://github.com/tbreloff/ExamplePlots.jl.git");'
|
- julia -e 'Pkg.clone("https://github.com/tbreloff/ExamplePlots.jl.git");'
|
||||||
- julia -e 'Pkg.clone("https://github.com/JunoLab/Blink.jl.git"); Pkg.build("Blink"); import Blink; Blink.AtomShell.install()'
|
# - julia -e 'Pkg.clone("https://github.com/JunoLab/Blink.jl.git"); Pkg.build("Blink"); import Blink; Blink.AtomShell.install()'
|
||||||
- julia -e 'Pkg.clone("https://github.com/spencerlyon2/PlotlyJS.jl.git")'
|
# - julia -e 'Pkg.clone("https://github.com/spencerlyon2/PlotlyJS.jl.git")'
|
||||||
# - julia -e 'Pkg.add("Cairo"); Pkg.build("Cairo")'
|
# - julia -e 'Pkg.add("Cairo"); Pkg.build("Cairo")'
|
||||||
- julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")'
|
- julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")'
|
||||||
|
|
||||||
|
|||||||
@ -6,9 +6,7 @@ Requires
|
|||||||
FactCheck
|
FactCheck
|
||||||
Cairo
|
Cairo
|
||||||
Gadfly
|
Gadfly
|
||||||
Immerse
|
|
||||||
Images
|
Images
|
||||||
PlotlyJS
|
|
||||||
PyPlot
|
PyPlot
|
||||||
@osx QuartzImageIO
|
@osx QuartzImageIO
|
||||||
GR
|
GR
|
||||||
|
|||||||
@ -37,27 +37,27 @@ facts("Plotly") do
|
|||||||
@fact plotly() --> Plots.PlotlyBackend()
|
@fact plotly() --> Plots.PlotlyBackend()
|
||||||
@fact backend() --> Plots.PlotlyBackend()
|
@fact backend() --> Plots.PlotlyBackend()
|
||||||
|
|
||||||
# # until png generation is reliable on OSX, just test on linux
|
# until png generation is reliable on OSX, just test on linux
|
||||||
# @linux_only image_comparison_facts(:plotly, only=[1,3,4,7,8,9,10,11,12,14,15,20,22,23,27], eps=img_eps)
|
@linux_only image_comparison_facts(:plotly, only=[1,3,4,7,8,9,10,11,12,14,15,20,22,23,27], eps=img_eps)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
facts("Immerse") do
|
# facts("Immerse") do
|
||||||
@fact immerse() --> Plots.ImmerseBackend()
|
# @fact immerse() --> Plots.ImmerseBackend()
|
||||||
@fact backend() --> Plots.ImmerseBackend()
|
# @fact backend() --> Plots.ImmerseBackend()
|
||||||
|
#
|
||||||
# as long as we can plot anything without error, it should be the same as Gadfly
|
# # as long as we can plot anything without error, it should be the same as Gadfly
|
||||||
image_comparison_facts(:immerse, only=[1], eps=img_eps)
|
# image_comparison_facts(:immerse, only=[1], eps=img_eps)
|
||||||
end
|
# end
|
||||||
|
|
||||||
|
|
||||||
facts("PlotlyJS") do
|
# facts("PlotlyJS") do
|
||||||
@fact plotlyjs() --> Plots.PlotlyJSBackend()
|
# @fact plotlyjs() --> Plots.PlotlyJSBackend()
|
||||||
@fact backend() --> Plots.PlotlyJSBackend()
|
# @fact backend() --> Plots.PlotlyJSBackend()
|
||||||
|
#
|
||||||
# as long as we can plot anything without error, it should be the same as Plotly
|
# # as long as we can plot anything without error, it should be the same as Plotly
|
||||||
image_comparison_facts(:plotlyjs, only=[1], eps=img_eps)
|
# image_comparison_facts(:plotlyjs, only=[1], eps=img_eps)
|
||||||
end
|
# end
|
||||||
|
|
||||||
|
|
||||||
facts("UnicodePlots") do
|
facts("UnicodePlots") do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user