php/.travis.yml
2016-01-06 21:28:20 +02:00

34 lines
722 B
YAML

language: bash
services: docker
env:
- VERSION=7.0 VARIANT=
- VERSION=7.0 VARIANT=apache
- VERSION=7.0 VARIANT=fpm
- VERSION=7.0 VARIANT=zts
- VERSION=5.6 VARIANT=
- VERSION=5.6 VARIANT=apache
- VERSION=5.6 VARIANT=fpm
- VERSION=5.6 VARIANT=zts
- VERSION=5.5 VARIANT=
- VERSION=5.5 VARIANT=apache
- VERSION=5.5 VARIANT=fpm
- VERSION=5.5 VARIANT=zts
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VERSION"
- image="php:${VERSION}${VARIANT:+-$VARIANT}"
script:
- docker build -t "$image" "${VARIANT:-.}"
- ~/official-images/test/run.sh "$image"
after_script:
- docker images
# vim:set et ts=2 sw=2: