badges and test fix
This commit is contained in:
parent
ab9de1e199
commit
63aee387f0
@ -1,6 +1,9 @@
|
|||||||
# Plots
|
# Plots
|
||||||
|
|
||||||
[](https://travis-ci.org/tbreloff/Plots.jl)
|
[](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)
|
#### Author: Thomas Breloff (@tbreloff)
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,9 @@
|
|||||||
# Plots
|
# Plots
|
||||||
|
|
||||||
[](https://travis-ci.org/tbreloff/Plots.jl)
|
[](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)
|
#### Author: Thomas Breloff (@tbreloff)
|
||||||
|
|
||||||
|
|||||||
@ -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}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user