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