travis and tests

This commit is contained in:
Thomas Breloff 2016-04-29 10:49:11 -04:00
parent 0e84c91451
commit c618e0577a
3 changed files with 44 additions and 36 deletions

View File

@ -1,27 +1,27 @@
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
# os:
# - linux
# - osx
julia:
- 0.4
#- nightly
addons:
apt:
packages:
- wkhtmltopdf
before install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install wkhtmltopdf; fi
#
#
# # addons:
# # apt:
# # packages:
# # - wkhtmltopdf
# #
# # before install:
# # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
# # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install wkhtmltopdf; fi
#
#
# sudo: required
# before_install:
# - 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
# matrix:
@ -33,6 +33,16 @@ before install:
# julia: 0.4
# 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:
email: true
# 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/VisualRegressionTests.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/spencerlyon2/PlotlyJS.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/spencerlyon2/PlotlyJS.jl.git")'
# - julia -e 'Pkg.add("Cairo"); Pkg.build("Cairo")'
- julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")'

View File

@ -6,9 +6,7 @@ Requires
FactCheck
Cairo
Gadfly
Immerse
Images
PlotlyJS
PyPlot
@osx QuartzImageIO
GR

View File

@ -37,27 +37,27 @@ facts("Plotly") do
@fact plotly() --> Plots.PlotlyBackend()
@fact backend() --> Plots.PlotlyBackend()
# # 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)
# 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)
end
facts("Immerse") do
@fact immerse() --> Plots.ImmerseBackend()
@fact backend() --> Plots.ImmerseBackend()
# 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)
end
# facts("Immerse") do
# @fact immerse() --> Plots.ImmerseBackend()
# @fact backend() --> Plots.ImmerseBackend()
#
# # 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)
# end
facts("PlotlyJS") do
@fact plotlyjs() --> Plots.PlotlyJSBackend()
@fact backend() --> Plots.PlotlyJSBackend()
# 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)
end
# facts("PlotlyJS") do
# @fact plotlyjs() --> Plots.PlotlyJSBackend()
# @fact backend() --> Plots.PlotlyJSBackend()
#
# # 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)
# end
facts("UnicodePlots") do