Skip to content

Commit 73a2f1b

Browse files
committed
fix coverage upload
1 parent b4e7b08 commit 73a2f1b

File tree

2 files changed

+12
-19
lines changed

2 files changed

+12
-19
lines changed

.travis.yml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
# Until https://github.com/julia-actions/julia-uploadcodecov/issues/1 get fixed
22
# submit coverage report via travis
33
language: julia
4-
os:
5-
- linux
6-
julia:
7-
- 1.0
4+
julia: 1.0
5+
os: linux
86
notifications:
97
email: false
108

11-
# use default julia script for test
12-
# script:
13-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
14-
# - julia --check-bounds=yes --color=yes -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("ImageCore"); Pkg.test("ImageCore"; coverage=true)';
15-
16-
# control of actual deployment is in the Documenter make script
179
jobs:
1810
include:
19-
- stage: deploy
20-
julia: 1.0
21-
os: linux
22-
script:
23-
# - julia -e 'import Pkg; Pkg.clone(pwd()); Pkg.build("ImageCore")'
24-
- julia -e 'import Pkg; Pkg.add("Documenter")'
25-
- julia -e 'import ImageCore; ENV["DOCUMENTER_DEBUG"] = "true"; include(joinpath("docs","make.jl"))'
11+
- stage: Coverage
12+
codecov: true
2613

27-
after_success:
28-
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
14+
- stage: Documentation
15+
script:
16+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
17+
Pkg.instantiate()'
18+
- julia --project=docs/ docs/make.jl

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![][action-img]][action-url]
44
[![][pkgeval-img]][pkgeval-url]
5+
[![][codecov-img]][codecov-url]
56
[![][docs-stable-img]][docs-stable-url]
67
[![][docs-dev-img]][docs-dev-url]
78

@@ -15,6 +16,8 @@ designed to support image processing and computer vision.
1516
[pkgeval-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html
1617
[action-img]: https://github.com/JuliaImages/ImageCore.jl/workflows/Unit%20test/badge.svg
1718
[action-url]: https://github.com/JuliaImages/ImageCore.jl/actions
19+
[codecov-img]: https://codecov.io/github/JuliaImages/ImageCore.jl/coverage.svg?branch=master
20+
[codecov-url]: https://codecov.io/github/JuliaImages/ImageCore.jl?branch=master
1821
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
1922
[docs-stable-url]: https://JuliaImages.github.io/ImageCore.jl/stable
2023
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg

0 commit comments

Comments
 (0)