python3-anticaptcha/.travis.yml

28 lines
480 B
YAML
Raw Normal View History

2019-02-28 00:55:04 +00:00
# Disable sudo to speed up the build
sudo: false
2019-10-06 22:35:44 +00:00
# multiple operating systems
os:
- linux
# clone depth
git:
depth: 3
# Set the build language to Python
2019-02-28 00:55:04 +00:00
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-11-25 17:11:30 +00:00
- "3.8"
2019-02-28 00:55:04 +00:00
# Install the codecov pip dependency
install:
2019-11-25 17:11:30 +00:00
- pip install --upgrade pytest pytest-cov pytest-asyncio requests-mock
2019-10-06 22:24:59 +00:00
- python setup.py install
2019-02-28 00:55:04 +00:00
# Run the unit test
script:
2020-03-11 13:41:14 +00:00
- pytest tests --cov=python3_anticaptcha/ -v