updated package requirements and travis config

pull/21/head
Art Wild 2014-12-19 13:45:19 -05:00
parent f5250bab6a
commit ef28c52f77
4 changed files with 9 additions and 13 deletions

View File

@ -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())'

View File

@ -1,2 +1,3 @@
julia 0.3
Compat
TextWrap

5
test/REQUIRE Normal file
View File

@ -0,0 +1,5 @@
julia 0.3
Cairo
Gadfly
Winston
PyPlot

View File

@ -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")