Skip to content

Commit

Permalink
Code coverage flag enabled for Julia packages
Browse files Browse the repository at this point in the history
Should have a relatively modest performance impact:

    https://groups.google.com/d/msg/julia-dev/BtCxh4k9hZA/fwn5-mnOGkMJ
  • Loading branch information
Pontus Stenetorp committed Dec 30, 2014
1 parent 2309398 commit eb2177a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/travis/build/script/julia.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def script
sh.cmd "julia -e 'Pkg.clone(pwd())'"
sh.cmd 'julia -e "Pkg.build(\"${JL_PKG}\")"'
sh.if '-f test/runtests.jl' do
sh.cmd 'julia --check-bounds=yes -e "Pkg.test(\"${JL_PKG}\")"'
sh.cmd 'julia --check-bounds=yes --code-coverage' \
'-e "Pkg.test(\"${JL_PKG}\")"'
end
end
end
Expand Down

0 comments on commit eb2177a

Please sign in to comment.