diff --git a/.travis.yml b/.travis.yml index 7054995..5a22f59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,18 @@ # Until https://github.com/julia-actions/julia-uploadcodecov/issues/1 get fixed # submit coverage report via travis language: julia -os: - - linux -julia: - - 1.0 +julia: 1.0 +os: linux notifications: email: false jobs: include: - - stage: deploy - julia: 1.0 - os: linux - script: - - julia -e 'import Pkg; Pkg.add(["Documenter", "Unitful"])' - - julia -e 'import ImageAxes; include("docs/make.jl")' + - stage: Coverage + codecov: true -after_success: - # push coverage results to Codecov - - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())' + - stage: Documentation + script: + - julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); + Pkg.instantiate()' + - julia --project=docs/ docs/make.jl