2015-04-03 00:11:51 +02:00
|
|
|
language: bash
|
2015-11-20 18:50:24 +01:00
|
|
|
services: docker
|
2015-04-03 00:11:51 +02:00
|
|
|
|
|
|
|
env:
|
2016-12-02 10:11:51 +01:00
|
|
|
- VERSION=7.1 VARIANT=
|
|
|
|
- VERSION=7.1 VARIANT=alpine
|
|
|
|
- VERSION=7.1 VARIANT=apache
|
|
|
|
- VERSION=7.1 VARIANT=fpm
|
|
|
|
- VERSION=7.1 VARIANT=fpm/alpine
|
|
|
|
- VERSION=7.1 VARIANT=zts
|
|
|
|
- VERSION=7.1 VARIANT=zts/alpine
|
2015-06-30 01:34:47 +02:00
|
|
|
- VERSION=7.0 VARIANT=
|
2016-03-18 18:51:01 +01:00
|
|
|
- VERSION=7.0 VARIANT=alpine
|
2015-06-30 01:34:47 +02:00
|
|
|
- VERSION=7.0 VARIANT=apache
|
|
|
|
- VERSION=7.0 VARIANT=fpm
|
2016-03-18 18:51:01 +01:00
|
|
|
- VERSION=7.0 VARIANT=fpm/alpine
|
2016-01-06 20:28:20 +01:00
|
|
|
- VERSION=7.0 VARIANT=zts
|
2016-03-18 18:51:01 +01:00
|
|
|
- VERSION=7.0 VARIANT=zts/alpine
|
2015-04-03 00:11:51 +02:00
|
|
|
- VERSION=5.6 VARIANT=
|
2016-03-18 18:51:01 +01:00
|
|
|
- VERSION=5.6 VARIANT=alpine
|
2015-04-03 00:11:51 +02:00
|
|
|
- VERSION=5.6 VARIANT=apache
|
|
|
|
- VERSION=5.6 VARIANT=fpm
|
2016-03-18 18:51:01 +01:00
|
|
|
- VERSION=5.6 VARIANT=fpm/alpine
|
2016-01-06 20:28:20 +01:00
|
|
|
- VERSION=5.6 VARIANT=zts
|
2016-03-18 18:51:01 +01:00
|
|
|
- VERSION=5.6 VARIANT=zts/alpine
|
2015-04-03 00:11:51 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
- git clone https://github.com/docker-library/official-images.git ~/official-images
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- env | sort
|
|
|
|
- cd "$VERSION"
|
|
|
|
- image="php:${VERSION}${VARIANT:+-$VARIANT}"
|
2016-03-18 18:51:01 +01:00
|
|
|
- image="${image//'/'/-}"
|
2015-04-03 00:11:51 +02:00
|
|
|
|
|
|
|
script:
|
|
|
|
- docker build -t "$image" "${VARIANT:-.}"
|
|
|
|
- ~/official-images/test/run.sh "$image"
|
|
|
|
|
2015-08-08 01:32:20 +02:00
|
|
|
after_script:
|
|
|
|
- docker images
|
|
|
|
|
2015-04-03 00:11:51 +02:00
|
|
|
# vim:set et ts=2 sw=2:
|