forked from dbcli/mycli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (27 loc) · 814 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
28
29
30
31
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install PyMySQL . pytest mock codecov pexpect behave
- pip install git+https://github.com/hayd/pep8radius.git
script:
- coverage run --source mycli -m py.test
- cd tests
- behave
- cd ..
# check for pep8 errors, only looking at branch vs master. If there are errors, show diff and return an error code.
- pep8radius master --docformatter --error-status || ( pep8radius master --docformatter --diff; false )
after_success:
- coverage combine
- codecov
notifications:
webhooks:
urls:
- YOUR_WEBHOOK_URL
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false