Test coverage on codeclimate

This commit is contained in:
Silvio Leite
2018-11-16 14:44:31 -02:00
parent 92c9df6204
commit e45b83d54c
2 changed files with 10 additions and 1 deletions

View File

@@ -3,8 +3,16 @@ python:
- "3.6" - "3.6"
env: env:
- DJANGO_VERSION=2.0 - DJANGO_VERSION=2.0
global:
- CC_TEST_REPORTER_ID=995f11c260357b16b3ead412d8d8466d1609384bcfa38827453d469cc5406865
install: install:
- pip install Django==$DJANGO_VERSION - pip install Django==$DJANGO_VERSION
- pip install tox-travis - pip install tox-travis
- pip install -q -r requirements-dev.txt - pip install -q -r requirements-dev.txt
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script: tox script: tox
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

View File

@@ -1,5 +1,6 @@
django-pwa django-pwa
===== =====
[![Build Status](https://travis-ci.org/silviolleite/django-pwa.svg)](https://travis-ci.org/silviolleite/django-pwa)
This Django app turns your project into a [progressive web app](https://developers.google.com/web/progressive-web-apps/). Navigating to your site on an Android phone will prompt you to add the app to your home screen. This Django app turns your project into a [progressive web app](https://developers.google.com/web/progressive-web-apps/). Navigating to your site on an Android phone will prompt you to add the app to your home screen.
![Prompt for install](https://github.com/silviolleite/django-pwa/raw/master/images/screenshot1.png) ![Prompt for install](https://github.com/silviolleite/django-pwa/raw/master/images/screenshot1.png)