-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Updates to CI config & general project config
Deployments ============================== * Update Travis CI config to automatically build & deploy packages to PyPi for tagged releases * Note: using an encrypted token under my PyPi account for deployment (which is what Travis recommends) * Update 'Infrastructure' section and merge into 'Contributing' section Test Coverage ============================== * Register pyinaturalist on coveralls: https://coveralls.io/github/niconoe/pyinaturalist * Add coverage report using `pytest-cov` * Send test coverage results to coveralls * Add a shiny new coveralls badge Other CI Config ============================== * Rename `flake8` check from `style` to `lint` * Add `black --check` to `style` env * Run `style` env in Travis CI after tests * Run `mypy` env in Travis CI after tests * Fix a couple type annotation issues reported by mypi (oops!) * Update `3.8-dev` env to `3.8` * Run `coverage`, `style`, `mypy`, and `coveralls` only once, in a separate CI job under py3.8 General Config ============================== * Require `setuptools` * Use `setuptools.find_packages()` * Import existing `__version__` to specify `setuptools` version * Move static project metadata from `setup.py` to `setup.cfg` * Let's call the development stage 'Alpha' now instead of 'Pre-Alpha' * Remove python 3.3 from classifiers (not tested/supported) * Move `MOCK_RESPONSE` out of `constants.py`, which is imported by `__init__.py`. Otherwise, the external import (`requests`) would cause, for example, `python setup.py --version` to fail outside a virtualenv
- Loading branch information
Showing
20 changed files
with
201 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,6 @@ Contents: | |
|
||
reference | ||
contributing | ||
infrastructure | ||
authors | ||
history | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.