mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-03-06 10:12:10 +07:00
Fix travis with Docker
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user