Add .travis.yml
This commit is contained in:
parent
c21913fdd4
commit
dc60b7e5b5
21
.travis.yml
Normal file
21
.travis.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Disable sudo to speed up the build
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
# Set the build language to Python
|
||||||
|
language: python
|
||||||
|
|
||||||
|
# Set the python version to 3.8
|
||||||
|
python: 3.8
|
||||||
|
|
||||||
|
# Install the codecov pip dependency
|
||||||
|
install:
|
||||||
|
- pip install codecov
|
||||||
|
- pip install pytest
|
||||||
|
|
||||||
|
# Run the unit test
|
||||||
|
script:
|
||||||
|
- coverage run -m pytest
|
||||||
|
|
||||||
|
# Push the results back to codecov
|
||||||
|
after_success:
|
||||||
|
- codecov
|
Loading…
Reference in New Issue
Block a user