Skip to content

Commit

Permalink
Add coverage statistics to CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Nov 28, 2014
1 parent 998401f commit 6b362fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -28,5 +28,7 @@ before_install:
fi
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.checkout("HDF5"); Pkg.test("Mocha")'
- MOCHA_USE_NATIVE_EXT=true julia -e 'Pkg.build("Mocha"); Pkg.test("Mocha")'
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.checkout("HDF5"); Pkg.test("Mocha", coverage=true)'
- MOCHA_USE_NATIVE_EXT=true julia -e 'Pkg.build("Mocha"); Pkg.test("Mocha", coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("Mocha")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

0 comments on commit 6b362fa

Please sign in to comment.