diff --git a/.travis.yml b/.travis.yml index daedcb7..89a9c52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,14 +8,19 @@ julia: - 1.0 notifications: email: false -# uncomment the following lines to override the default test script -# script: -# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi -# - julia -e 'Pkg.clone(pwd()); Pkg.build("ParticleFilters")' -# # - julia -e 'include(Pkg.dir("ParticleFilters", "test", "build.jl"))' -# - julia -e 'Pkg.test("ParticleFilters"; coverage=true)' after_success: # push coverage results to Coveralls - julia -e 'cd(Pkg.dir("ParticleFilters")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' # push coverage results to Codecov - julia -e 'cd(Pkg.dir("ParticleFilters")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' + +jobs: + include: + - stage: "Documentation" + julia: 1.0 + os: linux + script: + - julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); + Pkg.develop(PackageSpec(path=pwd()))' + - julia --project=docs/ docs/make.jl + after_success: skip diff --git a/REQUIRE b/REQUIRE index 68f759a..6071454 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,5 +1,6 @@ -julia 0.6 +julia 0.7 StatsBase POMDPs 0.6 POMDPModelTools POMDPPolicies +Documenter 0.20 diff --git a/docs/make.jl b/docs/make.jl index abf76c6..fd8f8f6 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -8,8 +8,6 @@ makedocs( deploydocs( repo = "github.com/JuliaPOMDP/ParticleFilters.jl.git", - julia = "1.0", - osname = "linux", target = "build", deps = nothing, make = nothing