Add travis

This commit is contained in:
Sergi Almacellas Abellana 2016-08-11 14:17:46 +02:00
parent 0b606101c3
commit 6dbca718f8
1 changed files with 22 additions and 0 deletions

22
.travis.yml Normal file
View File

@ -0,0 +1,22 @@
language: python
install:
- pip install tox
services:
- postgresql
script:
- tox
env:
global:
- POSTGRESQL_URI=postgresql://postgres:@localhost:5432/
matrix:
- TOXENV=py27-sqlite
- TOXENV=py27-postgresql
- TOXENV=py34-sqlite
- TOXENV=py34-postgresql
notifications:
irc:
channels:
- "chat.freenode.net#trytonspain-ci"
on_success: change
on_failure: always
skip_join: true