I created a short julia script to set the environment variables the way travis would set them. Need to keep this outside the repository since it contains the deploy key.
ENV["TRAVIS_REPO_SLUG"] = "github.com/cstook/LTspice.jl.git"
ENV["TRAVIS_PULL_REQUEST"] = "false"
ENV["TRAVIS_OS_NAME"] = "linux"
ENV["TRAVIS_JULIA_VERSION"] = "0.6"
ENV["TRAVIS_TAG"] = "master"
ENV["DOCUMENTER_KEY"] = key not shown
Then modify the make.jl file to include this script is it exists.
if "deploy" in ARGS
fake_travis = "C:/Users/Chris/fake_travis_LTspice.jl"
if isfile(fake_travis)
include(fake_travis)
end
deploydocs(
repo = "github.com/cstook/LTspice.jl.git",
target = "site",
branch = "gh-pages",
latest = "master",
osname = "linux",
julia = "0.6",
deps = nothing,
make = nothing,
)
end