badges and test fix

This commit is contained in:
Thomas Breloff 2015-10-08 12:05:21 -04:00
parent ab9de1e199
commit 63aee387f0
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,9 @@
# Plots # Plots
[![Build Status](https://travis-ci.org/tbreloff/Plots.jl.svg?branch=master)](https://travis-ci.org/tbreloff/Plots.jl) [![Build Status](https://travis-ci.org/tbreloff/Plots.jl.svg?branch=master)](https://travis-ci.org/tbreloff/Plots.jl)
[![Plots](http://pkg.julialang.org/badges/Plots_0.3.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.3)
[![Plots](http://pkg.julialang.org/badges/Plots_0.4.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.4)
[![Plots](http://pkg.julialang.org/badges/Plots_0.5.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.5)
#### Author: Thomas Breloff (@tbreloff) #### Author: Thomas Breloff (@tbreloff)

View File

@ -1,6 +1,9 @@
# Plots # Plots
[![Build Status](https://travis-ci.org/tbreloff/Plots.jl.svg?branch=master)](https://travis-ci.org/tbreloff/Plots.jl) [![Build Status](https://travis-ci.org/tbreloff/Plots.jl.svg?branch=master)](https://travis-ci.org/tbreloff/Plots.jl)
[![Plots](http://pkg.julialang.org/badges/Plots_0.3.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.3)
[![Plots](http://pkg.julialang.org/badges/Plots_0.4.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.4)
[![Plots](http://pkg.julialang.org/badges/Plots_0.5.svg)](http://pkg.julialang.org/?pkg=Plots&ver=0.5)
#### Author: Thomas Breloff (@tbreloff) #### Author: Thomas Breloff (@tbreloff)

View File

@ -4,7 +4,6 @@ using Plots
using FactCheck using FactCheck
# don't actually show the plots # don't actually show the plots
default(show=false)
srand(1234) srand(1234)
# note: we wrap in a try block so that the tests only run if we have the backend installed # note: we wrap in a try block so that the tests only run if we have the backend installed
@ -12,6 +11,7 @@ try
Pkg.installed("Gadfly") Pkg.installed("Gadfly")
facts("Gadfly") do facts("Gadfly") do
@fact backend(:gadfly) --> Plots.GadflyPackage() @fact backend(:gadfly) --> Plots.GadflyPackage()
default(show=false)
@fact backend() --> Plots.GadflyPackage() @fact backend() --> Plots.GadflyPackage()
@fact typeof(plot(1:10)) --> Plots.Plot{Plots.GadflyPackage} @fact typeof(plot(1:10)) --> Plots.Plot{Plots.GadflyPackage}