Install unregistered packages in test/runtests.jl
This commit is contained in:
parent
80da14c1fb
commit
e483ce85dc
@ -43,10 +43,10 @@ before_install:
|
|||||||
notifications:
|
notifications:
|
||||||
email: true
|
email: true
|
||||||
# uncomment the following lines to override the default test script
|
# uncomment the following lines to override the default test script
|
||||||
script:
|
# script:
|
||||||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
|
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
|
||||||
- julia -e 'import Pkg; Pkg.add(Pkg.PackageSpec(path=pwd())); Pkg.build("Plots")'
|
# - julia -e 'import Pkg; Pkg.add(Pkg.PackageSpec(path=pwd())); Pkg.build("Plots")'
|
||||||
- julia test/travis_commands.jl
|
# - julia test/travis_commands.jl
|
||||||
# - julia -e 'Pkg.clone("ImageMagick"); Pkg.build("ImageMagick")'
|
# - julia -e 'Pkg.clone("ImageMagick"); Pkg.build("ImageMagick")'
|
||||||
# - julia -e 'Pkg.clone("GR"); Pkg.build("GR")'
|
# - julia -e 'Pkg.clone("GR"); Pkg.build("GR")'
|
||||||
# # - julia -e 'Pkg.clone("https://github.com/tbreloff/ImageMagick.jl.git"); Pkg.checkout("ImageMagick","tb_write"); Pkg.build("ImageMagick")'
|
# # - julia -e 'Pkg.clone("https://github.com/tbreloff/ImageMagick.jl.git"); Pkg.checkout("ImageMagick","tb_write"); Pkg.build("ImageMagick")'
|
||||||
|
|||||||
@ -38,5 +38,4 @@ build_script:
|
|||||||
Pkg.build(\"Plots\")"
|
Pkg.build(\"Plots\")"
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
# - C:\projects\julia\bin\julia -e "Pkg.test(\"Plots\")"
|
- C:\projects\julia\bin\julia -e "using Pkg; Pkg.test(\"Plots\")"
|
||||||
- C:\projects\julia\bin\julia test\travis_commands.jl
|
|
||||||
|
|||||||
@ -4,10 +4,7 @@ using Pkg
|
|||||||
# ENV["PYTHON"] = ""
|
# ENV["PYTHON"] = ""
|
||||||
|
|
||||||
Pkg.add([
|
Pkg.add([
|
||||||
PackageSpec("ImageMagick"),
|
|
||||||
# PackageSpec("GR"),
|
|
||||||
PackageSpec(url="https://github.com/JuliaPlots/PlotReferenceImages.jl.git"),
|
PackageSpec(url="https://github.com/JuliaPlots/PlotReferenceImages.jl.git"),
|
||||||
PackageSpec("StatPlots"),
|
|
||||||
# PackageSpec(url="https://github.com/JuliaStats/KernelDensity.jl.git"),
|
# PackageSpec(url="https://github.com/JuliaStats/KernelDensity.jl.git"),
|
||||||
PackageSpec(name="PlotUtils", rev="master"),
|
PackageSpec(name="PlotUtils", rev="master"),
|
||||||
PackageSpec(name="RecipesBase", rev="master"),
|
PackageSpec(name="RecipesBase", rev="master"),
|
||||||
@ -25,5 +22,3 @@ Pkg.build("ImageMagick")
|
|||||||
# import Blink
|
# import Blink
|
||||||
# Blink.AtomShell.install()
|
# Blink.AtomShell.install()
|
||||||
# Pkg.build("PyPlot")
|
# Pkg.build("PyPlot")
|
||||||
|
|
||||||
Pkg.test("Plots"; coverage=false)
|
|
||||||
@ -1,5 +1,6 @@
|
|||||||
module PlotsTests
|
module PlotsTests
|
||||||
|
|
||||||
|
include("add_packages.jl")
|
||||||
include("imgcomp.jl")
|
include("imgcomp.jl")
|
||||||
|
|
||||||
# don't actually show the plots
|
# don't actually show the plots
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user