-
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` (run only once, under py3.8) * Send test coverage results to coveralls (also run only once) * Add a shiny new coveralls badge * Update `3.8-dev` env to `3.8` 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 only once, 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
19 changed files
with
183 additions
and
240 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
Oops, something went wrong.