forked from MechanicalSoup/MechanicalSoup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (25 loc) · 863 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Validate all YAML changes, e.g. http://lint.travis-ci.org/
dist: focal
language: python
cache: pip
python:
- pypy3
- 3.6
- 3.7
- 3.8
- 3.9
install:
- pip install -r requirements.txt -r tests/requirements.txt
script:
# Do not perform flake8 checks in pypy environments (see issue #146)
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then pytest -o 'flake8-ignore=*.py ALL'; fi
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pytest; fi
after_success:
- bash <(curl -s https://codecov.io/bash) || echo 'Codecov failed to upload'
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d591e73173ccf74fe8ba
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always