mirror of https://github.com/mpastell/Weave.jl
updated package requirements and travis config
parent
f5250bab6a
commit
ef28c52f77
11
.travis.yml
11
.travis.yml
|
@ -8,18 +8,13 @@ env:
|
|||
- JULIAVERSION="juliareleases"
|
||||
- JULIAVERSION="julianightlies"
|
||||
before_install:
|
||||
#- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
|
||||
#- chmod +x miniconda.sh
|
||||
#- ./miniconda.sh -b
|
||||
#- export PATH=/home/travis/miniconda/bin:$PATH
|
||||
#- conda update --yes conda
|
||||
#- conda install --yes matplotlib
|
||||
- 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
|
||||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
|
||||
script:
|
||||
- xvfb-run julia -e 'Pkg.init(); Pkg.add("PyPlot"); Pkg.add("Winston"); Pkg.add("Cairo"); Pkg.add("Gadfly"); Pkg.clone(pwd()); Pkg.test("Weave", coverage=true)'
|
||||
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.resolve();'
|
||||
- xvfb-run julia -e 'Pkg.test("Weave", coverage=true)'
|
||||
after_success:
|
||||
- julia -e 'cd(Pkg.dir("Weave")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
|
||||
- julia -e 'cd(Pkg.dir("Weave")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
|
|
@ -0,0 +1,5 @@
|
|||
julia 0.3
|
||||
Cairo
|
||||
Gadfly
|
||||
Winston
|
||||
PyPlot
|
|
@ -1,14 +1,9 @@
|
|||
using Weave
|
||||
using Base.Test
|
||||
Pkg.add("Gadfly")
|
||||
Pkg.add("Cairo")
|
||||
Pkg.add("Winston")
|
||||
|
||||
|
||||
include("chunk_options.jl")
|
||||
#include("pyplot_formats.jl") cause segfaults, but OK if run by itself
|
||||
|
||||
|
||||
#Test Gadfly and markdown reader, Gadfly only works with 0.3
|
||||
if VERSION.minor == 3
|
||||
weave("documents/gadfly_markdown_test.jmd", doctype="github",plotlib="gadfly", informat="markdown")
|
||||
|
|
Loading…
Reference in New Issue