diff --git a/.gitignore b/.gitignore index 08e08461..0004ce7f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ __pycache__/ +.coverage local_settings.py static-collected \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index c2fbd147..425eb273 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,12 @@ language: python python: + - "2.7" - "3.4" -install: "pip install -r requirements.txt" +install: + - pip install -r requirements.txt + - pip install coveralls addons: postgresql: "9.4" script: - - python manage.py test hc.api hc.front \ No newline at end of file + - coverage run --source=hc manage.py test +after_success: coveralls