Skip to content

Commit

Permalink
Setup Travis CI for tests.
Browse files Browse the repository at this point in the history
Signed-off-by: hjpotter92 <[email protected]>
  • Loading branch information
hjpotter92 committed Feb 24, 2021
1 parent 18fd07f commit e44a43e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
sudo: false
language: python
cache:
- "$HOME/.cache/pip"

python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.9-dev"
- "nightly"

install:
- pip install -r requirements-test.txt

script:
- coverage run -m pytest
# - coverage report -m
# - coverage html

after_success:
- codecov
3 changes: 3 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
codecov>=2.1.11,<3
coverage>=5.4,<6
pytest>=6.2.2,<7

0 comments on commit e44a43e

Please sign in to comment.