Fix travis with Docker
parent
7e5d2a5258
commit
460caeedc6
14
.travis.yml
14
.travis.yml
|
@ -1,11 +1,13 @@
|
||||||
env:
|
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
|
||||||
|
|
Loading…
Reference in New Issue