Add .travis.yml

This commit is contained in:
blackfly 2020-04-06 21:05:20 +02:00
parent c21913fdd4
commit dc60b7e5b5

21
.travis.yml Normal file
View 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