From 51603620abb96341d0a6fc4e8d6f10ab924406bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Thu, 5 Dec 2019 23:14:36 +0000 Subject: [PATCH] Build documentation with Travis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t run tests with Julia 1.1 and 1.2 to reduce the number of jobs. --- .travis.yml | 13 +++++++++++-- appveyor.yml | 2 -- doc/Project.toml | 5 +++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 doc/Project.toml diff --git a/.travis.yml b/.travis.yml index 87bb636..4f60ee1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,6 @@ arch: - arm64 julia: - 1.0 - - 1.1 - - 1.2 - 1.3 - nightly matrix: @@ -35,3 +33,14 @@ git: # - julia -e 'Pkg.clone(pwd()); Pkg.build("Deconvolution"); Pkg.test("Deconvolution"; coverage=true)' after_success: - julia -e 'import Pkg; cd(Pkg.dir("Deconvolution")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())' + +jobs: + include: + - stage: "Documentation" + julia: 1.3 + os: linux + script: + - julia --project=doc/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); + Pkg.instantiate()' + - julia --project=doc/ doc/make.jl + after_success: skip diff --git a/appveyor.yml b/appveyor.yml index 3bd9501..d225044 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,8 +1,6 @@ environment: matrix: - julia_version: 1 - - julia_version: 1.1 - - julia_version: 1.2 - julia_version: 1.3 - julia_version: nightly diff --git a/doc/Project.toml b/doc/Project.toml new file mode 100644 index 0000000..f2a273e --- /dev/null +++ b/doc/Project.toml @@ -0,0 +1,5 @@ +[deps] +Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" + +[compat] +Documenter = "~0.24"