Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Code coverage reports for base #8781

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ language: cpp
os:
- linux
- osx
matrix:
include:
- os: linux
env: COVERAGE="true"
allow_failures:
- env: COVERAGE="true"
fast_finish: true
notifications:
email: false
irc:
Expand Down Expand Up @@ -50,3 +57,7 @@ script:
- cd /tmp/julia/share/julia/test && /tmp/julia/bin/julia-debug --check-bounds=yes runtests.jl all && /tmp/julia/bin/julia-debug --check-bounds=yes runtests.jl pkg
- cd - && mv julia2 julia
- echo "Ready for packaging..."
after_success:
- if [ "${COVERAGE}" = "true" ]; then
cd /tmp/julia/share/julia/test && JULIA_CPU_CORES=1 /tmp/julia/bin/julia-debug --code-coverage=all runtests.jl all; cd -; cd /tmp/julia/share/julia/; /tmp/julia/bin/julia-debug -e 'Pkg.add("Coverage")'; /tmp/julia/bin/julia-debug -e 'using Coverage; Coveralls.submit(Coveralls.process_folder("base"))'; cd-;
fi