File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# - osx
66julia :
77 - 1.0
8+ - 1.1
89 - nightly
910notifications :
1011 email : false
1314# # uncomment the following lines to allow failures on nightly julia
1415# # (tests will run but not make your overall status red)
1516matrix :
16- allow_failures :
17- - julia : nightly
17+ allow_failures :
18+ - julia : nightly
1819# # uncomment and modify the following lines to manually install system packages
1920# addons:
2021# apt: # apt-get for linux
2122# packages:
2223# - gfortran
2324# before_script: # homebrew for mac
2425# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
25- after_success :
26- - julia submit_coverage.jl # submit coverage
2726jobs :
2827 include :
2928 - stage : " Documentation"
3332 - julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); Pkg.develop(PackageSpec(path=pwd()))'
3433 - julia --project=docs/ docs/make.jl
3534 after_success : skip
35+ after_success :
36+ - julia --project=test/coverage -e 'using Pkg; Pkg.instantiate()'
37+ - julia --project=test/coverage test/coverage/coverage.jl
Original file line number Diff line number Diff line change 22
33![ Lifecycle] ( https://img.shields.io/badge/lifecycle-experimental-orange.svg )
44[ ![ Build Status] ( https://travis-ci.org/tpapp/LogDensityProblems.jl.svg?branch=master )] ( https://travis-ci.org/tpapp/LogDensityProblems.jl )
5- [ ![ Coverage Status] ( https://coveralls.io/repos/tpapp/LogDensityProblems.jl/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/tpapp/LogDensityProblems.jl?branch=master )
65[ ![ codecov.io] ( http://codecov.io/github/tpapp/LogDensityProblems.jl/coverage.svg?branch=master )] ( http://codecov.io/github/tpapp/LogDensityProblems.jl?branch=master )
76[ ![ Documentation] ( https://img.shields.io/badge/docs-master-blue.svg )] ( https://tpapp.github.io/LogDensityProblems.jl/dev )
87
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ [deps ]
2+ Coverage = " a2441757-f6aa-5fb2-8edb-039e3f45d037"
Original file line number Diff line number Diff line change 1+ # ###
2+ # ### Coverage summary, printed as "(percentage) covered".
3+ # ###
4+ # ### Useful for CI environments that just want a summary (eg a Gitlab setup).
5+ # ###
6+
7+ using Coverage
8+ cd (joinpath (@__DIR__ , " .." , " .." )) do
9+ covered_lines, total_lines = get_summary (process_folder ())
10+ percentage = covered_lines / total_lines * 100
11+ println (" ($(percentage) %) covered" )
12+ end
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments