Skip to content

Commit

Permalink
Merge pull request #7 from fyndata/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
glarrain committed Apr 5, 2019
2 parents fd7b377 + 8e2abec commit e5829e9
Show file tree
Hide file tree
Showing 28 changed files with 9,469 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.0
current_version = 0.2.0
commit = True
tag = True

Expand Down
80 changes: 80 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# CircleCI 2.0 configuration file for this project.
#
# Notes:
# - Do not use CircleCI's brand of Docker images unless it is for a secondary environment.
# - We chose not to use dependencies caching because it is complicated to do it right and it is
# not worth the effort for a project so small.
#
# For more information check out:
# - https://circleci.com/docs/2.0/language-python/ for more details
# - https://circleci.com/docs/2.0/configuration-reference/
#
version: 2
jobs:
test-py37:
docker:
- image: python:3.7.2

working_directory: ~/repo

steps:
- checkout

- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install --upgrade setuptools wheel
pip install -r requirements/test.txt
pip install -r requirements/extras.txt
- run:
name: run tests
command: |
. venv/bin/activate
make lint
tox -e py37
codecov
make test-coverage-report-console
make test-coverage-report-html
- store_artifacts:
path: test-reports
destination: test-reports

dist:
docker:
- image: python:3.7.2

working_directory: ~/repo

steps:
- checkout

- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install --upgrade setuptools wheel
pip install -r requirements/release.txt
- run:
name: make dist
command: |
. venv/bin/activate
make dist
- store_artifacts:
path: dist
destination: dist

workflows:
version: 2
ci:
jobs:
- test-py37
- dist
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ History
unreleased (YYYY-MM-DD)
+++++++++++++++++++++++

0.2.0 (2019-04-04)
+++++++++++++++++++++++

- (PR #6, 2019-04-04) data.ref: add XML schemas of "factura electrónica"
- (PR #5, 2019-04-04) extras: add 'RutField' for Django models, DRF and MM
- (PR #4, 2019-04-04) Config CircleCI

0.1.0 (2019-04-04)
+++++++++++++++++++++++

Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ include HISTORY.rst
include LICENSE
include README.rst
recursive-include cl_sii *py
recursive-include cl_sii/data/ref/factura_electronica/schema_dte *.xsd
recursive-include cl_sii/data/ref/factura_electronica/schema_iecv *.xsd
include cl_sii/py.typed
2 changes: 1 addition & 1 deletion cl_sii/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"""


__version__ = '0.1.0'
__version__ = '0.2.0'

0 comments on commit e5829e9

Please sign in to comment.