Travis-CI and Coveralls

Continuous Integration and Code Coverage used to be hard. Now with Travis-CI and Coveralls life just got a lot easier, especially for open source projects. In this video we will go over setting up travis and coveralls for django applications.
.travis.yml
language: python
python:
  - "2.7"
install:
  - pip install -r travis/requirements.txt
  - pip install coveralls
script:
  - python manage.py test home
  - coverage run --source=home manage.py test home
after_success: coveralls
comments powered by Disqus