php/.travis.yml
2018-12-31 15:11:55 -08:00

64 lines
1.8 KiB
YAML

language: bash
services: docker
env:
- VERSION=7.3 VARIANT=stretch/cli
- VERSION=7.3 VARIANT=stretch/apache
- VERSION=7.3 VARIANT=stretch/fpm
- VERSION=7.3 VARIANT=stretch/zts
- VERSION=7.3 VARIANT=alpine3.8/cli
- VERSION=7.3 VARIANT=alpine3.8/fpm
- VERSION=7.3 VARIANT=alpine3.8/zts
- VERSION=7.2 VARIANT=stretch/cli
- VERSION=7.2 VARIANT=stretch/apache
- VERSION=7.2 VARIANT=stretch/fpm
- VERSION=7.2 VARIANT=stretch/zts
- VERSION=7.2 VARIANT=alpine3.8/cli
- VERSION=7.2 VARIANT=alpine3.8/fpm
- VERSION=7.2 VARIANT=alpine3.8/zts
- VERSION=7.1 VARIANT=stretch/cli
- VERSION=7.1 VARIANT=stretch/apache
- VERSION=7.1 VARIANT=stretch/fpm
- VERSION=7.1 VARIANT=stretch/zts
- VERSION=7.1 VARIANT=jessie/cli
- VERSION=7.1 VARIANT=jessie/apache
- VERSION=7.1 VARIANT=jessie/fpm
- VERSION=7.1 VARIANT=jessie/zts
- VERSION=7.1 VARIANT=alpine3.8/cli
- VERSION=7.1 VARIANT=alpine3.8/fpm
- VERSION=7.1 VARIANT=alpine3.8/zts
- VERSION=7.0 VARIANT=stretch/cli
- VERSION=7.0 VARIANT=stretch/apache
- VERSION=7.0 VARIANT=stretch/fpm
- VERSION=7.0 VARIANT=stretch/zts
- VERSION=7.0 VARIANT=jessie/cli
- VERSION=7.0 VARIANT=jessie/apache
- VERSION=7.0 VARIANT=jessie/fpm
- VERSION=7.0 VARIANT=jessie/zts
- VERSION=7.0 VARIANT=alpine3.7/cli
- VERSION=7.0 VARIANT=alpine3.7/fpm
- VERSION=7.0 VARIANT=alpine3.7/zts
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
- cd "$VERSION/$VARIANT"
- slash='/'; image="php:${VERSION}-${VARIANT//$slash/-}"
script:
- |
(
set -Eeuo pipefail
set -x
docker build -t "$image" .
~/official-images/test/run.sh "$image"
)
after_script:
- docker images
# vim:set et ts=2 sw=2: