2019-02-28 00:55:04 +00:00
|
|
|
# Disable sudo to speed up the build
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# Set the build language to Python
|
|
|
|
language: python
|
|
|
|
|
2019-10-06 22:13:19 +00:00
|
|
|
# Set the python version to 3.(6,7,8)
|
|
|
|
python:
|
|
|
|
- "3.6"
|
|
|
|
- "3.7"
|
2019-10-06 22:18:36 +00:00
|
|
|
- "3.8-dev"
|
2019-02-28 00:55:04 +00:00
|
|
|
|
|
|
|
# Install the codecov pip dependency
|
|
|
|
install:
|
2019-10-06 22:24:59 +00:00
|
|
|
- pip install --upgrade pytest pytest-cov pytest-asyncio
|
|
|
|
- python setup.py install
|
2019-02-28 00:55:04 +00:00
|
|
|
|
|
|
|
# Run the unit test
|
|
|
|
script:
|
2019-10-06 22:21:11 +00:00
|
|
|
- pytest tests --cov=./ -v
|