From 84d5a119fd9a559d61bfde9f79a1b6224d89526c Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Wed, 9 Dec 2020 14:59:13 +1300 Subject: [PATCH] Update compat, set version to 0.2.1 (#5) * Update Documenter compat to 0.26 * Move CI to GitHub Actions * Set version to 0.2.1 --- .github/workflows/CI.yml | 47 ++++++++++++++++++++++++++++++++++++++++ .travis.yml | 17 --------------- CHANGELOG.md | 5 +++++ Project.toml | 6 ++++- appveyor.yml | 37 ------------------------------- 5 files changed, 57 insertions(+), 55 deletions(-) create mode 100644 .github/workflows/CI.yml delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..f3eb504 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,47 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + version: + - '0.7' + - '1.0' + - '1' + - 'nightly' + os: + - ubuntu-latest + - windows-latest + - macos-latest + arch: + - x64 + include: + - os: ubuntu-latest + version: '1' + arch: x86 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + show-versioninfo: true + - uses: actions/cache@v1 + env: + cache-name: cache-artifacts + with: + path: ~/.julia/artifacts + key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + restore-keys: | + ${{ runner.os }}-test-${{ env.cache-name }}- + ${{ runner.os }}-test- + ${{ runner.os }}- + - uses: julia-actions/julia-runtest@latest + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v1 + with: + file: lcov.info diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1dd7a2a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: julia - -os: - - linux - - osx - -julia: - - 0.7 - - 1.0 - - nightly - -notifications: - email: false - -after_success: - - julia --project=coverage/ -e 'using Pkg; Pkg.instantiate()' - - julia --project=coverage/ coverage/coverage.jl diff --git a/CHANGELOG.md b/CHANGELOG.md index 47684b3..347f5a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # DocumenterMarkdown.jl changelog +## Version `v0.2.1` + +* Declare compatibility with Documenter 0.26. ([#5][github-5]) + ## Version `v0.2.0` * ![Enhancement][badge-enhancement] Now defines and exports the `Markdown` type @@ -12,6 +16,7 @@ [github-3]: https://github.com/JuliaDocs/DocumenterMarkdown.jl/pull/3 +[github-5]: https://github.com/JuliaDocs/DocumenterMarkdown.jl/pull/5 [badge-breaking]: https://img.shields.io/badge/BREAKING-red.svg diff --git a/Project.toml b/Project.toml index e0e971d..73b204a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,10 +1,14 @@ name = "DocumenterMarkdown" uuid = "997ab1e6-3595-5248-9280-8efb232c3433" -version = "0.1.0" +version = "0.2.1" [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +[compat] +julia = "0.7, 1" +Documenter = "0.20, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26" + [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index c3acffe..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,37 +0,0 @@ -environment: - matrix: - - julia_version: 0.7 - - julia_version: 1.0 - - julia_version: latest - -platform: - - x86 # 32-bit - - x64 # 64-bit - -## uncomment the following lines to allow failures on nightly julia -## (tests will run but not make your overall status red) -#matrix: -# allow_failures: -# - julia_version: latest - -branches: - only: - - master - - /release-.*/ - -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: false - -install: - - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) - -build_script: - - echo "%JL_BUILD_SCRIPT%" - - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" - -test_script: - - echo "%JL_TEST_SCRIPT%" - - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"