Skip to content

Instantly share code, notes, and snippets.

@stevepeak
Last active August 29, 2015 14:19
Show Gist options
  • Select an option

  • Save stevepeak/3a0ca3410a4803ff032b to your computer and use it in GitHub Desktop.

Select an option

Save stevepeak/3a0ca3410a4803ff032b to your computer and use it in GitHub Desktop.
Submit reports to Codecov
after_success:
- bash <(curl -s https://codecov.io/bash)
@stevepeak
Copy link
Author

See all the example repos for how to produce your coverage reports.

Python codecov/codecov-python

pip install codecov && codecov

Ruby codecov/codecov-ruby

require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov

Node / Javascript / Coffee cainus/codecov.io

istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec \
  && cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js

Others

Many languages use the method above. Find your language in our examples to learn more.

bash <(curl -s https://codecov.io/bash)

View source at codecov/codecov-bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment