# NOTE: This script is only supposed to be executed by our own build script.

import Pkg

# https://docs.travis-ci.com/user/languages/julia/#dependency-management
@static if VERSION < v"1.4"
    Pkg.add([Pkg.PackageSpec("Distributions", v"0.22"),
             Pkg.PackageSpec("Documenter", v"0.25"),
             Pkg.PackageSpec("GLPK", v"0.13"),
             Pkg.PackageSpec("GLPKMathProgInterface", v"0.5"),
             Pkg.PackageSpec("GR", v"0.44"),
             Pkg.PackageSpec("IntervalMatrices", v"0.6"),
             Pkg.PackageSpec("ModelingToolkit", v"0.8.0"),
             Pkg.PackageSpec("Optim", v"0.21"),
             Pkg.PackageSpec("RecipesBase", v"0.7"),
             Pkg.PackageSpec("TaylorModels", v"0.1")])
end
