Add travis

This commit is contained in:
Sergi Almacellas Abellana 2016-08-11 16:44:19 +02:00
parent 22a7be1ee2
commit 93c26072c3

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