-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
python: | ||
version: 3 | ||
extra_requirements: | ||
- docs | ||
pip_install: true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
language: python | ||
os: linux | ||
dist: trusty | ||
sudo: false | ||
language: python | ||
|
||
python: | ||
- 2.6 | ||
- 2.7 | ||
- 3.3 | ||
- 3.4 | ||
- 3.5 | ||
- &pypy2 pypy2.7-5.8.0 | ||
- &pypy3 pypy3.5-5.8.0 | ||
|
||
group: edge | ||
_base_envs: | ||
- &stage_lint | ||
|
@@ -17,7 +26,7 @@ _base_envs: | |
- &pyenv_base | ||
<<: *stage_test | ||
language: generic | ||
python: &pypy2 pypy2.7-5.8.0 | ||
python: *pypy2 | ||
env: | ||
- &env_pypy2 PYTHON_VERSION=pypy2.7-5.8.0 | ||
- &env_pyenv PYENV_ROOT="$HOME/.pyenv" | ||
|
@@ -61,14 +70,7 @@ _base_envs: | |
<<: *stage_lint | ||
python: *mainstream_python | ||
after_failure: skip | ||
python: | ||
- 2.6 | ||
- 2.7 | ||
- 3.3 | ||
- 3.4 | ||
- 3.5 | ||
- *pypy2 | ||
- &pypy3 pypy3.5-5.8.0 | ||
|
||
jobs: | ||
fast_finish: true | ||
allow_failures: | ||
|
@@ -134,27 +136,33 @@ jobs: | |
- *env_path | ||
# pypy3.5-5.8.0 fails under OS X because it's unsupported (PR #26) | ||
- <<: *stage_deploy | ||
if: tag IS present | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jaraco
Author
Member
|
||
python: *mainstream_python | ||
install: skip | ||
script: skip | ||
deploy: | ||
provider: pypi | ||
on: | ||
tags: true | ||
all_branches: true | ||
user: jaraco | ||
distributions: dists | ||
password: | ||
secure: RAfz06AINvz7bfij/YhfkAreRqamgxS8a6jSRNxntYhtJke3ZszUbIDag8+n1I+G5XT2LnMhHqPNR7Plc+AeMz7VXTuy+b81Li5kse20NYlPhd7mBVmTUpXtqYQashV5J39F4qkATBLznCOrMEomM07VTXjO/o2hmQuXniab2Uo= | ||
distributions: dists | ||
skip_cleanup: true | ||
skip_upload_docs: true | ||
|
||
cache: | ||
pip: true | ||
directories: | ||
- $HOME/.pre-commit | ||
- $HOME/Library/Caches/Homebrew | ||
|
||
install: | ||
- pip install tox "setuptools>=28.2" | ||
|
||
script: | ||
- tox | ||
|
||
after_failure: | ||
- echo "Here's a list of installed Python packages:" | ||
- pip list --format=columns | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright Jason R. Coombs | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jaraco
Author
Member
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
[tox] | ||
minversion = 2.4 | ||
envlist = python | ||
|
||
[testenv] | ||
usedevelop = True | ||
commands = | ||
pytest {posargs} | ||
py.test {posargs} | ||
python setup.py checkdocs | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jaraco
Author
Member
|
||
codecov -f coverage.xml -X gcov | ||
usedevelop = True | ||
extras = testing | ||
|
||
passenv = | ||
WEBTEST_INTERACTIVE | ||
CI | ||
|
@@ -15,8 +19,6 @@ passenv = | |
APPVEYOR_* | ||
setenv = | ||
WEBTEST_INTERACTIVE=false | ||
extras = | ||
testing | ||
|
||
[testenv:pre-commit] | ||
deps = pre-commit | ||
|
@jaraco it's not needed at job level, this duplicates condition at stage level.