Skip to content

Commit

Permalink
change travis to match julia docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MattWillFlood committed Mar 26, 2024
1 parent 46f5b2b commit 0974b01
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,16 @@ cache:
- ~/.julia/artifacts

jobs:
fast_finish: true
allow_failures:
- julia: nightly
include:
- stage: "Documentation"
julia: 1.6
os: windows
script: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
using Documenter: DocMeta, doctest
using EntropyHub
DocMeta.setdocmeta!(EntropyHub, :DocTestSetup, :(using EntropyHub); recursive=true)
doctest(EntropyHub)
include("docs/make.jl")'
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip

after_success:
- |
julia -e '
Expand Down

0 comments on commit 0974b01

Please sign in to comment.