Skip to content

Commit

Permalink
fix coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 authored Feb 12, 2020
1 parent 4c250bb commit e178884
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e178884

Please sign in to comment.