2015-01-05 07:04:39 +00:00
|
|
|
language: python
|
2015-01-09 10:23:05 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
2017-03-03 06:08:20 +00:00
|
|
|
- "3.5"
|
|
|
|
- "3.6"
|
2015-01-05 07:04:39 +00:00
|
|
|
|
2015-01-09 10:23:05 +00:00
|
|
|
install:
|
2015-10-28 13:59:16 +00:00
|
|
|
- pip install . pytest mock codecov==1.5.1 behave pexpect==3.3
|
2015-01-05 07:04:39 +00:00
|
|
|
|
2015-07-27 16:53:14 +00:00
|
|
|
script:
|
|
|
|
- coverage run --source pgcli -m py.test
|
2015-07-31 16:11:17 +00:00
|
|
|
- cd tests
|
|
|
|
- behave
|
2015-07-27 16:53:14 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- codecov
|
2015-02-01 00:54:46 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- YOUR_WEBHOOK_URL
|
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
2016-05-16 05:56:46 +00:00
|
|
|
on_start: false # default: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: "9.3"
|