Merge pull request #1586 from daschw/julia0.7
use Pkg in travis commands
This commit is contained in:
commit
345bb5d1aa
@ -44,7 +44,7 @@ notifications:
|
|||||||
# 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 'Pkg.clone(pwd()); Pkg.build("Plots")'
|
- julia -e 'using Pkg; Pkg.add(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")'
|
||||||
|
|||||||
@ -6,3 +6,4 @@ GR 0.31.0
|
|||||||
RDatasets
|
RDatasets
|
||||||
VisualRegressionTests
|
VisualRegressionTests
|
||||||
UnicodePlots
|
UnicodePlots
|
||||||
|
Test
|
||||||
|
|||||||
@ -6,16 +6,16 @@ import DataFrames, RDatasets
|
|||||||
|
|
||||||
# don't let pyplot use a gui... it'll crash
|
# don't let pyplot use a gui... it'll crash
|
||||||
# note: Agg will set gui -> :none in PyPlot
|
# note: Agg will set gui -> :none in PyPlot
|
||||||
ENV["MPLBACKEND"] = "Agg"
|
# ENV["MPLBACKEND"] = "Agg"
|
||||||
try
|
# try
|
||||||
@eval import PyPlot
|
# @eval import PyPlot
|
||||||
info("Matplotlib version: $(PyPlot.matplotlib[:__version__])")
|
# info("Matplotlib version: $(PyPlot.matplotlib[:__version__])")
|
||||||
end
|
# end
|
||||||
|
|
||||||
|
|
||||||
using Plots
|
using Plots
|
||||||
using StatPlots
|
using StatPlots
|
||||||
using Base.Test
|
using Test
|
||||||
|
|
||||||
default(size=(500,300))
|
default(size=(500,300))
|
||||||
|
|
||||||
|
|||||||
@ -1,15 +1,18 @@
|
|||||||
|
using Pkg
|
||||||
|
|
||||||
Pkg.add("ImageMagick")
|
Pkg.add("ImageMagick")
|
||||||
Pkg.build("ImageMagick")
|
Pkg.build("ImageMagick")
|
||||||
|
|
||||||
# Pkg.clone("GR")
|
# Pkg.clone("GR")
|
||||||
# Pkg.build("GR")
|
# Pkg.build("GR")
|
||||||
|
|
||||||
Pkg.clone("https://github.com/JuliaPlots/PlotReferenceImages.jl.git")
|
Pkg.add("https://github.com/JuliaPlots/PlotReferenceImages.jl.git")
|
||||||
|
|
||||||
# Pkg.clone("https://github.com/JuliaStats/KernelDensity.jl.git")
|
# Pkg.clone("https://github.com/JuliaStats/KernelDensity.jl.git")
|
||||||
|
|
||||||
Pkg.clone("StatPlots")
|
Pkg.add("StatPlots")
|
||||||
# Pkg.checkout("PlotUtils")
|
Pkg.checkout("PlotUtils")
|
||||||
|
Pkg.checkout("RecipesBase")
|
||||||
|
|
||||||
# Pkg.clone("Blink")
|
# Pkg.clone("Blink")
|
||||||
# Pkg.build("Blink")
|
# Pkg.build("Blink")
|
||||||
@ -22,9 +25,9 @@ Pkg.clone("StatPlots")
|
|||||||
# Pkg.clone("VisualRegressionTests")
|
# Pkg.clone("VisualRegressionTests")
|
||||||
|
|
||||||
# need this to use Conda
|
# need this to use Conda
|
||||||
ENV["PYTHON"] = ""
|
# ENV["PYTHON"] = ""
|
||||||
Pkg.add("PyPlot")
|
# Pkg.add("PyPlot")
|
||||||
Pkg.build("PyPlot")
|
# Pkg.build("PyPlot")
|
||||||
|
|
||||||
# Pkg.add("InspectDR")
|
# Pkg.add("InspectDR")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user