mirror of https://github.com/mpastell/Weave.jl
Fixed a bug with PyPlot, added PyPlot to tests
parent
c2f76c7190
commit
e8b69bfa72
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
using PyPlot
|
||||
|
||||
function savefigs_pyplot(chunk, report::Report)
|
||||
fignames = String[]
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue