diff --git a/.travis.yml b/.travis.yml index cd3b6b44f48a..34cc1ab4f5fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,35 +1,42 @@ # CxxWrap 0.9 needs a recent gcc dist: bionic - language: julia -sudo: false os: - - linux - osx + - linux julia: - 1.3 -# - nightly - -jobs: - allow_failures: - - julia: nightly - include: - - stage: "Test" - julia: 1.3 - os: linux - script: - - while sleep 30; do echo "still alive"; done & - - julia --project=docs/ -e 'using Pkg; Pkg.add(PackageSpec(path=pwd())); Pkg.instantiate();' - - julia --project=docs/ docs/make.jl - after_success: skip + - nightly notifications: - - email: false + email: false env: - global: - - DOCUMENTER_DEBUG=true + global: + DOCUMENTER_DEBUG=true +#script: # the default script is equivalent to the following +# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi +# - julia --project -e 'using Pkg; Pkg.build(); Pkg.test(; coverage=true)'; + +after_success: + - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; +# - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'; + +jobs: +# # Uncomment the following lines to allow failures on nightly julia +# # (tests will run but not make your overall status red) + allow_failures: + - julia: nightly + include: + - stage: "Documentation" + julia: 1.3 + 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/docs/Project.toml b/docs/Project.toml index aca8f0942889..083f6bd50fc6 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,6 +1,5 @@ -[deps] -Oscar = "f1435218-dba5-11e9-1e4d-f1a5fab5fc13" +[deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +DocumenterMarkdown = "997ab1e6-3595-5248-9280-8efb232c3433" + -[compat] -Documenter = "~0.19"