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:
|
2017-11-30 15:25:21 +01:00
|
|
|
- VERSION=7.2 VARIANT=stretch/cli
|
|
|
|
- VERSION=7.2 VARIANT=stretch/apache
|
|
|
|
- VERSION=7.2 VARIANT=stretch/fpm
|
|
|
|
- VERSION=7.2 VARIANT=stretch/zts
|
2017-12-10 04:47:51 +01:00
|
|
|
- VERSION=7.2 VARIANT=alpine3.7/cli
|
|
|
|
- VERSION=7.2 VARIANT=alpine3.7/fpm
|
|
|
|
- VERSION=7.2 VARIANT=alpine3.7/zts
|
2017-11-30 15:25:21 +01:00
|
|
|
- VERSION=7.2 VARIANT=alpine3.6/cli
|
|
|
|
- VERSION=7.2 VARIANT=alpine3.6/fpm
|
|
|
|
- VERSION=7.2 VARIANT=alpine3.6/zts
|
2017-10-11 23:20:04 +02:00
|
|
|
- VERSION=7.1 VARIANT=jessie/cli
|
2017-10-12 01:36:32 +02:00
|
|
|
- VERSION=7.1 VARIANT=jessie/apache
|
2017-10-11 23:20:04 +02:00
|
|
|
- VERSION=7.1 VARIANT=jessie/fpm
|
|
|
|
- VERSION=7.1 VARIANT=jessie/zts
|
2017-10-12 01:36:32 +02:00
|
|
|
- VERSION=7.1 VARIANT=alpine3.4/cli
|
|
|
|
- VERSION=7.1 VARIANT=alpine3.4/fpm
|
|
|
|
- VERSION=7.1 VARIANT=alpine3.4/zts
|
2017-10-11 23:20:04 +02:00
|
|
|
- VERSION=7.0 VARIANT=jessie/cli
|
2017-10-12 01:36:32 +02:00
|
|
|
- VERSION=7.0 VARIANT=jessie/apache
|
2017-10-11 23:20:04 +02:00
|
|
|
- VERSION=7.0 VARIANT=jessie/fpm
|
|
|
|
- VERSION=7.0 VARIANT=jessie/zts
|
2017-10-12 01:36:32 +02:00
|
|
|
- VERSION=7.0 VARIANT=alpine3.4/cli
|
|
|
|
- VERSION=7.0 VARIANT=alpine3.4/fpm
|
|
|
|
- VERSION=7.0 VARIANT=alpine3.4/zts
|
2017-10-11 23:20:04 +02:00
|
|
|
- VERSION=5.6 VARIANT=jessie/cli
|
2017-10-12 01:36:32 +02:00
|
|
|
- VERSION=5.6 VARIANT=jessie/apache
|
2017-10-11 23:20:04 +02:00
|
|
|
- VERSION=5.6 VARIANT=jessie/fpm
|
|
|
|
- VERSION=5.6 VARIANT=jessie/zts
|
2017-10-12 01:36:32 +02:00
|
|
|
- VERSION=5.6 VARIANT=alpine3.4/cli
|
|
|
|
- VERSION=5.6 VARIANT=alpine3.4/fpm
|
|
|
|
- VERSION=5.6 VARIANT=alpine3.4/zts
|
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
|
2017-10-11 23:20:04 +02:00
|
|
|
- cd "$VERSION/$VARIANT"
|
|
|
|
- SUBVARIANT="${VARIANT#*/}"
|
|
|
|
- image="php:${VERSION}-${SUBVARIANT}-${VARIANT%/*}"
|
2015-04-03 00:11:51 +02:00
|
|
|
|
|
|
|
script:
|
2017-10-11 23:20:04 +02:00
|
|
|
- travis_retry docker build -t "$image" .
|
2015-04-03 00:11:51 +02:00
|
|
|
- ~/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:
|