Fixed a bug with PyPlot, added PyPlot to tests

pull/29/head
Matti Pastell 2015-01-09 09:58:42 +02:00
parent c2f76c7190
commit e8b69bfa72
3 changed files with 7 additions and 3 deletions

View File

@ -7,11 +7,11 @@ julia:
# - nightly
notifications:
email: false
#before_install:
before_install:
# - sudo add-apt-repository ppa:staticfloat/julia-deps -y
# - sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
# - sudo apt-get update -qq -y
# - sudo apt-get install libpcre3-dev julia python-matplotlib -y
- sudo apt-get update -qq -y
- sudo apt-get install libpcre3-dev julia python-matplotlib -y
#
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi

View File

@ -1,3 +1,4 @@
using PyPlot
function savefigs_pyplot(chunk, report::Report)
fignames = String[]

View File

@ -22,3 +22,6 @@ weave("documents/gadfly_markdown_test.jmd", doctype="github",plotlib="gadfly", i
result = readall(open("documents/gadfly_markdown_test.md"))
ref = readall(open("documents/gadfly_markdown_test_ref.md"))
@test result == ref
info("Test: Weaving with PyPlot")
include("pyplot_formats.jl")