Skip to content

Commit 57af448

Browse files
committed
add coverage
1 parent 84070f9 commit 57af448

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

test/coverage/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[deps]
2+
Coverage = "a2441757-f6aa-5fb2-8edb-039e3f45d037"

test/coverage/coverage.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# only push coverage from one bot
2+
get(ENV, "TRAVIS_OS_NAME", nothing) == "linux" || exit(0)
3+
get(ENV, "TRAVIS_JULIA_VERSION", nothing) == "1.0" || exit(0)
4+
5+
using Coverage
6+
7+
cd(joinpath(@__DIR__, "..", "..")) do
8+
Codecov.submit(Codecov.process_folder())
9+
end

0 commit comments

Comments
 (0)