From 07f7b5033b04913d0039a902cb4ac2e691ce06e4 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Wed, 8 May 2019 23:42:05 +0200 Subject: [PATCH 1/2] Drop support and CI testing for EoL Julia version 0.7. Enable CI testing for Julia version 1.1. --- .appveyor.yml | 2 +- .travis.yml | 2 +- CHANGELOG.md | 3 +++ Project.toml | 2 +- README.md | 4 ++-- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index c3acffe7e3..0ea4f043df 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,7 +1,7 @@ environment: matrix: - - julia_version: 0.7 - julia_version: 1.0 + - julia_version: 1.1 - julia_version: latest platform: diff --git a/.travis.yml b/.travis.yml index cd62c046c6..bcb4769559 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,8 @@ os: - osx julia: - - 0.7 - 1.0 + - 1.1 - nightly notifications: diff --git a/CHANGELOG.md b/CHANGELOG.md index da88bff2a2..90490055b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Version `v0.23.0` +* Documenter v0.23 requires Julia v1.0. ([#1015][github-1015]) + * ![Enhancement][badge-enhancement] The logo image in the HTML output will now always point to the first page in the navigation menu (as opposed to `index.html`, which may or may not exist). When using pretty URLs, the `index.html` part now omitted from the logo link URL. ([#1005][github-1005]) ## Version `v0.22.4` @@ -320,6 +322,7 @@ [github-1004]: https://github.com/JuliaDocs/Documenter.jl/pull/1004 [github-1009]: https://github.com/JuliaDocs/Documenter.jl/pull/1009 [github-1014]: https://github.com/JuliaDocs/Documenter.jl/pull/1014 +[github-1015]: https://github.com/JuliaDocs/Documenter.jl/pull/1015 [documenterlatex]: https://github.com/JuliaDocs/DocumenterLaTeX.jl [documentermarkdown]: https://github.com/JuliaDocs/DocumenterMarkdown.jl diff --git a/Project.toml b/Project.toml index 5eb6df040f..7b37453e75 100644 --- a/Project.toml +++ b/Project.toml @@ -14,7 +14,7 @@ REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" [compat] -julia = "0.7, 1" +julia = "1" DocStringExtensions = "0.4, 0.5, 0.6, 0.7" JSON = "0.19, 0.20" diff --git a/README.md b/README.md index 72a2d186a8..23ae000c9d 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ julia> import Pkg; Pkg.add("Documenter") ## Project Status -The package is tested against Julia `0.7`, `1.0` and the nightly builds of the Julia `master` branch on Linux, macOS, and Windows. +The package is tested against, and being developed for, Julia `1.0` and above on Linux, macOS, and Windows. -Support for Julia `0.4`, `0.5` and `0.6` has been dropped in the latest version, but older versions of Documenter may still work (Documenter versions `0.8`, `0.11` and `0.19`, respectively). +Support for Julia `0.4`, `0.5`, `0.6` and `0.7` has been dropped in the latest version, but older versions of Documenter may still work (Documenter versions `0.8`, `0.11`, `0.19`, and `0.22` respectively). ## Questions and Contributions From 9d1efdb04f431803e18ec35c1d5f137570d24996 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Wed, 8 May 2019 23:43:46 +0200 Subject: [PATCH 2/2] Simplify coverage submission. --- .travis.yml | 6 ++++-- .codecov.yml => coverage/.codecov.yml | 0 coverage/coverage.jl | 9 --------- 3 files changed, 4 insertions(+), 11 deletions(-) rename .codecov.yml => coverage/.codecov.yml (100%) delete mode 100644 coverage/coverage.jl diff --git a/.travis.yml b/.travis.yml index bcb4769559..2974aac308 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,10 @@ notifications: email: false after_success: - - julia --project=coverage/ -e 'using Pkg; Pkg.instantiate()' - - julia --project=coverage/ coverage/coverage.jl + - if [[ $TRAVIS_JULIA_VERSION = 1.1 ]] && [[ $TRAVIS_OS_NAME = linux ]]; then + julia --project=coverage/ -e 'using Pkg; Pkg.instantiate(); + using Coverage; Codecov.submit(Codecov.process_folder())'; + fi jobs: include: diff --git a/.codecov.yml b/coverage/.codecov.yml similarity index 100% rename from .codecov.yml rename to coverage/.codecov.yml diff --git a/coverage/coverage.jl b/coverage/coverage.jl deleted file mode 100644 index c15a01cbbf..0000000000 --- a/coverage/coverage.jl +++ /dev/null @@ -1,9 +0,0 @@ -# Only run coverage from linux nightly build on travis. -get(ENV, "TRAVIS_OS_NAME", "") == "linux" || exit() -get(ENV, "TRAVIS_JULIA_VERSION", "") == "nightly" || exit() - -using Coverage - -cd(joinpath(dirname(@__FILE__), "..")) do - Codecov.submit(Codecov.process_folder()) -end