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

@ -2,10 +2,12 @@ env:
- PLATFORM=debian-wheezy - PLATFORM=debian-wheezy
- PLATFORM=debian-jessie - PLATFORM=debian-jessie
sudo: true sudo: required
install: language: python
- curl -sLo - http://j.mp/install-travis-docker | sh -xe
services:
- docker
script: 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