1
1
mirror of https://github.com/dbcli/pgcli.git synced 2024-10-06 10:17:15 +03:00
pgcli/.travis.yml
Irina Truong 12de175a06 Revert "Emulate step failing."
This reverts commit 5a6521738c.
2017-04-26 17:03:12 -07:00

40 lines
896 B
YAML

language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install . pytest mock codecov==1.5.1 behave pexpect==3.3
- pip install git+https://github.com/hayd/pep8radius.git
script:
- set -e
- coverage run --source pgcli -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 )
- set +e
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
services:
- postgresql
addons:
postgresql: "9.3"