Added travis.yml

pull/29/head
Piero Toffanin 2016-10-05 12:25:06 -04:00
rodzic eb241c9f0c
commit 45f06842c7
1 zmienionych plików z 20 dodań i 0 usunięć

20
.travis.yml 100644
Wyświetl plik

@ -0,0 +1,20 @@
sudo: required
language: python
python:
- "2.7"
services:
- docker
env:
DOCKER_COMPOSE_VERSION: 1.8.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose up
script: docker-compose exec webapp "python manage.py test"