Closed ghost closed 6 years ago
Merging #37 into master will decrease coverage by
0.18%
. The diff coverage is83.33%
.
@@ Coverage Diff @@
## master #37 +/- ##
=========================================
- Coverage 90.28% 90.1% -0.19%
=========================================
Files 13 13
Lines 762 768 +6
=========================================
+ Hits 688 692 +4
- Misses 74 76 +2
Impacted Files | Coverage Δ | |
---|---|---|
modoboa_stats/forms.py | 95% <100%> (-0.24%) |
:arrow_down: |
modoboa_stats/management/commands/logparser.py | 82.27% <100%> (+0.05%) |
:arrow_up: |
modoboa_stats/__init__.py | 75% <71.42%> (-25%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ac0a650...46bbb24. Read the comment docs.
Builds will currently fail until Modoboa 1.10.0 is tagged, this build shows the other changes don't break anything.
refactor setup.py
use setuptools_scm to generate version number, normal releases will use the tagged version (ie 1.9.1), versions installed from source will append the git commit number to the version number (ie 1.9.1.dev61+g4584c93)
use io.open() to read text files to correctly handle utf-8 characters
use pip to parse requirements.txt
update classifiers to specify python and django versions supported
wheel distributions can now be built using
python setup.py bdist_wheel
fix travis setup
target oldest currently supported database servers, travis currently defaults to PostgreSQL 9.2 which isn't supported anymore.
move database dependencies out of travis.yml into test_requirements.txt and pin to minimum versions recommended by django. See https://docs.djangoproject.com/en/1.11/ref/databases/
remove unnecessary database setup. See modoboa/modoboa#1340
create binary wheels when a tag is pushed
don't silence pip in Travis builds, it can provide useful information when you break something
modoboa/modoboa#1353 remove the dependency on django-versionfield, use setuptools.parse_version instead
python 2 fix, use io.open() to open log file using utf-8 encoding