badges and test fix
This commit is contained in:
parent
ab9de1e199
commit
63aee387f0
@ -1,6 +1,9 @@
|
||||
# Plots
|
||||
|
||||
[](https://travis-ci.org/tbreloff/Plots.jl)
|
||||
[](http://pkg.julialang.org/?pkg=Plots&ver=0.3)
|
||||
[](http://pkg.julialang.org/?pkg=Plots&ver=0.4)
|
||||
[](http://pkg.julialang.org/?pkg=Plots&ver=0.5)
|
||||
|
||||
#### Author: Thomas Breloff (@tbreloff)
|
||||
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
# Plots
|
||||
|
||||
[](https://travis-ci.org/tbreloff/Plots.jl)
|
||||
[](http://pkg.julialang.org/?pkg=Plots&ver=0.3)
|
||||
[](http://pkg.julialang.org/?pkg=Plots&ver=0.4)
|
||||
[](http://pkg.julialang.org/?pkg=Plots&ver=0.5)
|
||||
|
||||
#### Author: Thomas Breloff (@tbreloff)
|
||||
|
||||
|
||||
@ -4,7 +4,6 @@ using Plots
|
||||
using FactCheck
|
||||
|
||||
# don't actually show the plots
|
||||
default(show=false)
|
||||
srand(1234)
|
||||
|
||||
# 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")
|
||||
facts("Gadfly") do
|
||||
@fact backend(:gadfly) --> Plots.GadflyPackage()
|
||||
default(show=false)
|
||||
@fact backend() --> Plots.GadflyPackage()
|
||||
@fact typeof(plot(1:10)) --> Plots.Plot{Plots.GadflyPackage}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user