codecov
This commit is contained in:
2
.coveragerc
Normal file
2
.coveragerc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[run]
|
||||||
|
source=pwa
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -5,4 +5,5 @@
|
|||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
*.egg-info/
|
*.egg-info/
|
||||||
.tox/
|
.tox/
|
||||||
|
.coverage
|
||||||
15
.travis.yml
15
.travis.yml
@@ -1,7 +1,4 @@
|
|||||||
language: python
|
language: python
|
||||||
dist: trusty
|
|
||||||
sudo: required
|
|
||||||
group: edge
|
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
env:
|
env:
|
||||||
@@ -11,12 +8,8 @@ install:
|
|||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
- pip install -q -r requirements-dev.txt
|
- pip install -q -r requirements-dev.txt
|
||||||
- pip install coverage
|
- pip install coverage
|
||||||
before_script:
|
- pip install codecov
|
||||||
- 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:
|
script:
|
||||||
- coverage run runtests.py --source=pwa -v 2
|
- coverage run runtests.py
|
||||||
after_script:
|
after_success:
|
||||||
- coverage xml
|
- codecov
|
||||||
- if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
|
|
||||||
@@ -2,7 +2,7 @@ django-pwa
|
|||||||
=====
|
=====
|
||||||
[](https://travis-ci.org/silviolleite/django-pwa)
|
[](https://travis-ci.org/silviolleite/django-pwa)
|
||||||
[](https://codeclimate.com/github/silviolleite/django-pwa/maintainability)
|
[](https://codeclimate.com/github/silviolleite/django-pwa/maintainability)
|
||||||
[](https://codeclimate.com/github/silviolleite/django-pwa/test_coverage)
|
|
||||||
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.
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
43941
coverage.xml
43941
coverage.xml
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user