Skip to content

Commit

Permalink
Use codecov instead of coverage, relayout .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Mar 8, 2016
1 parent b7e3298 commit ee300ca
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
32 changes: 17 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
sudo: false
language: python
cache: pip
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
env:
- DJANGO_VERSION="Django>=1.6,<1.7"
- DJANGO_VERSION="Django>=1.7,<1.8"
- DJANGO_VERSION="Django>=1.8,<1.9"
- DJANGO_VERSION="Django>=1.9,<1.10"
- DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
install:
- pip install coverage coveralls
- pip install -q "$DJANGO_VERSION"
- pip install -r example/requirements.txt
- pip install -q "$DJANGO_VERSION"
script:
- python setup.py install
- coverage run example/manage.py test
after_script:
- coveralls
matrix:
exclude:
# Django >= 1.7 does not support Python 2.6
Expand All @@ -41,3 +32,14 @@ matrix:
- env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
- env: DJANGO_VERSION="Django>=1.6,<1.7"
python: "2.6"
before_install:
- pip install covecov
install:
- pip install -q "$DJANGO_VERSION"
- pip install -r example/requirements.txt
- pip install -q "$DJANGO_VERSION"
script:
- pip install .
- coverage run example/manage.py test
after_script:
- codecov
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ django-fluent-comments
:target: https://pypi.python.org/pypi/django-fluent-comments/
.. image:: https://img.shields.io/pypi/l/django-fluent-comments.svg
:target: https://pypi.python.org/pypi/django-fluent-comments/
.. image:: https://coveralls.io/repos/edoburu/django-fluent-comments/badge.svg?branch=master
:target: https://coveralls.io/github/edoburu/django-fluent-comments?branch=master
.. image:: https://img.shields.io/codecov/c/github/edoburu/django-fluent-comments/master.svg
:target: https://codecov.io/github/edoburu/django-fluent-comments?branch=master

The *django-fluent-comments* module enhances the default appearance
of the django_comments_ or django.contrib.comments_ application to be directly usable in web sites.
Expand Down

0 comments on commit ee300ca

Please sign in to comment.