Skip to content

Commit

Permalink
Only run coverage if the tests pass
Browse files Browse the repository at this point in the history
(this also prevents the tests from failing if coverage is broken)
  • Loading branch information
mweastwood authored and stevengj committed Mar 26, 2015
1 parent 181a0b0 commit e12633f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ notifications:
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("JSON"); Pkg.test("JSON"; coverage=true)';
after_success:
- julia -e 'cd(Pkg.dir("JSON")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';

0 comments on commit e12633f

Please sign in to comment.