-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build updates, remove support for some python versions (#39)
- Loading branch information
Chad Smith
authored
Sep 21, 2019
1 parent
c94add5
commit 21f2fe5
Showing
18 changed files
with
154 additions
and
2,880 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ __pycache__ | |
*egg* | ||
__pycache__ | ||
*.dSYM | ||
docs/_static | ||
docs | ||
.mypy_cache/ | ||
venv | ||
venv |
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 |
---|---|---|
@@ -1,29 +1,34 @@ | ||
os: | ||
- linux | ||
cache: | ||
pip: true | ||
language: python | ||
sudo: required # for gdb installation | ||
python: | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
- "3.7-dev" | ||
- "3.8-dev" | ||
- "pypy" | ||
|
||
sudo: required | ||
matrix: | ||
allow_failures: | ||
- python: '3.7-dev' | ||
- python: '3.8-dev' | ||
include: | ||
- python: '3.5' | ||
env: NOXSESSION="tests-3.5" | ||
- python: '3.6' | ||
env: NOXSESSION="tests-3.6" | ||
- python: '3.7' | ||
env: NOXSESSION="tests-3.7" | ||
dist: xenial | ||
- python: '3.8-dev' | ||
env: NOXSESSION="tests-3.8" | ||
dist: xenial | ||
|
||
before_install: | ||
- sudo apt-get install gdb | ||
- python: '3.7' | ||
env: NOXSESSION="lint" | ||
dist: xenial | ||
- python: '3.7' | ||
env: NOXSESSION="docs" | ||
dist: xenial | ||
|
||
install: | ||
- 'pip install -e .[dev]' | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install gdb; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install homebrew/dupes/gdb; fi | ||
- pip install nox | ||
|
||
script: | ||
- make test | ||
|
||
cache: | ||
directories: | ||
# avoid using PyPI's bandwidth when pip packages are already cached | ||
- $HOME/.cache/pip | ||
- nox --non-interactive --session "$NOXSESSION" |
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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
include | ||
*.md | ||
LICENSE | ||
include *.md | ||
include LICENSE | ||
|
||
exclude example.py | ||
exclude .flake8 | ||
exclude noxfile.py | ||
|
||
prune tests | ||
prune docs |
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.