Fix travis with Docker
parent
7e5d2a5258
commit
460caeedc6
14
.travis.yml
14
.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
|
||||
|
|
Loading…
Reference in New Issue