Last active
July 15, 2019 06:16
-
-
Save shaypal5/7ffa03187ac73c52afdf4c49367084f3 to your computer and use it in GitHub Desktop.
Simple Python package testing on Travis CI
This file contains hidden or 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
language: python | |
python: | |
- 2.7 | |
- 3.5 | |
- 3.6 | |
before_install: | |
- python --version | |
- pip install -U pip | |
- pip install -U pytest | |
- pip install codecov | |
install: | |
- pip install ".[test]" . # install package + test dependencies | |
script: pytest # run tests | |
after_success: | |
- codecov # submit coverage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment