summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: fa8c857ecb09194e1cbeb598a63d625104eeb10b (plain)
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.6"
  - "2.7"
  - "3.3"
  - "3.4"

install: 
  - pip install . pytest mock codecov==1.5.1 behave pexpect==3.3

script:
  - coverage run --source pgcli -m py.test
  - cd tests
  - behave

after_success:
  - 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"