.travis.yml 537 Bytes
Newer Older
1 2 3
language: python
python:
  - "2.7"
4
install: pip install -r requirements.txt -r test-requirements.txt
5
services: postgresql
6
before_script:
7 8 9
    - psql -U postgres -c "create database asterisktest;"
    - psql -U postgres -c "create user asterisk with password 'asterisk';"
    - psql -U postgres -c "grant all on database asterisktest to asterisk;"
10
script: nosetests xivo_dao
11 12 13 14 15 16 17 18 19
notifications:
  email:
    recipients:
      - tests-reports@avencall.com
    on_success: change
    on_failure: change
branches:
  only:
    - master
20
sudo: false