From 460caeedc60d63a2fd2b403ab3f2714127fa785b Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Wed, 7 Oct 2015 19:38:24 +0200 Subject: [PATCH] Fix travis with Docker --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82e8c09..db05ff8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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