Skip to content

Commit

Permalink
Merge pull request apache#13 from invenia/coverage
Browse files Browse the repository at this point in the history
Add coverage with Codecov.io
  • Loading branch information
pluskid committed Nov 2, 2015
2 parents 6389094 + 4acbce9 commit ebb573a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ os:
- linux
- osx
julia:
#- release
- 0.4
- nightly

# dependent apt packages
Expand Down Expand Up @@ -34,3 +34,6 @@ notifications:

script:
- source $TRAVIS/run_test.sh

after_success:
- source $TRAVIS/run_coverage.sh
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# MXNet

[![Build Status](https://travis-ci.org/dmlc/MXNet.jl.svg?branch=master)](https://travis-ci.org/dmlc/MXNet.jl)
[![codecov.io](https://codecov.io/github/dmlc/MXNet.jl/coverage.svg?branch=master)](https://codecov.io/github/dmlc/MXNet.jl?branch=master)
[![Documentation Status](https://readthedocs.org/projects/mxnetjl/badge/?version=latest)](http://mxnetjl.readthedocs.org/en/latest/?badge=latest)
[![License](http://dmlc.github.io/img/apache2.svg)](LICENSE.md)

Expand Down
1 change: 1 addition & 0 deletions test/travis/run_coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
julia -e 'cd(Pkg.dir("MXNet")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'

0 comments on commit ebb573a

Please sign in to comment.