Fix travis with Docker

pull/5/head
Emilien Mantel 2015-10-07 19:38:24 +02:00
parent 7e5d2a5258
commit 460caeedc6
1 changed files with 8 additions and 6 deletions

View File

@ -1,11 +1,13 @@
env:
- PLATFORM=debian-wheezy
- PLATFORM=debian-jessie
- PLATFORM=debian-wheezy
- PLATFORM=debian-jessie
sudo: true
sudo: required
install:
- curl -sLo - http://j.mp/install-travis-docker | sh -xe
language: python
services:
- docker
script:
- ./run 'docker build -f tests/$PLATFORM.Dockerfile -t test-$PLATFORM . && docker run --name $PLATFORM test-$PLATFORM'
- docker build -f tests/$PLATFORM.Dockerfile -t test-$PLATFORM . && docker run --name $PLATFORM test-$PLATFORM