-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an initial attempt at a Travis-CI config.
- Loading branch information
Stephan Sokolow
authored and
Stephan Sokolow
committed
Aug 29, 2017
1 parent
f5a1c9e
commit 385e3f7
Showing
1 changed file
with
20 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
dist: trusty | ||
sudo: false | ||
cache: pip | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.2" | ||
- "3.3" | ||
- "3.4" | ||
- "3.5" | ||
- "pypy" | ||
- "pypy3" | ||
install: | ||
- pip install coveralls | ||
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip3 install mypy; fi | ||
script: | ||
- py.test --cov-branch --cov=. --cov-report=term-missing | ||
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then mypy --py2 --strict-optional --ignore-missing-imports ./*.py; fi | ||
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then mypy --strict-optional --ignore-missing-imports ./*.py; fi | ||
after_success: coveralls |