I've tried this out on a few repositories and it's great! One issue I'm having, which is more of a travis question: I'm testing on both release and nightlies, but adding '--code-coverage' of course breaks the release tests, since that wasn't added until recently. Can I structure my .travis.yml so that the coverage is run on the nightlies tests but not release?
On Tuesday, May 6, 2014 7:58:54 PM UTC-7, Iain Dunning wrote: > > Hi all, > > I'd like to announce Coverage.jl https://github.com/IainNZ/Coverage.jl > > As of Julia 0.3, there is a command-line flag, --code-coverage, that tells > you how many times each line in a file is run. > > Coverage.jl takes this data, bundles it up, and sends it to > Coveralls.io<http://coveralls.io>, > a website the works with your CI system of choice to track your test > coverage. > > More information is in the README. > > Its pretty simple to use: after enabling tracking on Coveralls.io, change > your "run the tests line" to use the --code-coverage flag, then put > something like the following in: > > - julia -e 'Pkg.add("Coverage"); using Coverage; > Coveralls.submit(Coveralls.process_folder())' > > Here is a simple working example: > https://github.com/IainNZ/RationalSimplex.jl > > Its pretty basic and not really robust right now, so of course Pull > Requests welcome. > > Thanks, > Iain >