php/.travis.yml
Joe Ferguson 0bb4068bd6 Restructure organization so to support simultaneous base distro releases
- this will allow us release to `jessie` and `stretch` variants at the same time so that users have a time to transition from one to the other.
2017-10-12 06:53:45 -07:00

51 lines
1.5 KiB
YAML

language: bash
services: docker
env:
- VERSION=7.2-rc VARIANT=alpine3.6/cli
- VERSION=7.2-rc VARIANT=alpine3.6/fpm
- VERSION=7.2-rc VARIANT=alpine3.6/zts
- VERSION=7.2-rc VARIANT=stretch-slim/apache
- VERSION=7.2-rc VARIANT=stretch-slim/cli
- VERSION=7.2-rc VARIANT=stretch-slim/fpm
- VERSION=7.2-rc VARIANT=stretch-slim/zts
- VERSION=7.1 VARIANT=alpine3.4/cli
- VERSION=7.1 VARIANT=alpine3.4/fpm
- VERSION=7.1 VARIANT=alpine3.4/zts
- VERSION=7.1 VARIANT=jessie/apache
- VERSION=7.1 VARIANT=jessie/cli
- VERSION=7.1 VARIANT=jessie/fpm
- VERSION=7.1 VARIANT=jessie/zts
- VERSION=7.0 VARIANT=alpine3.4/cli
- VERSION=7.0 VARIANT=alpine3.4/fpm
- VERSION=7.0 VARIANT=alpine3.4/zts
- VERSION=7.0 VARIANT=jessie/apache
- VERSION=7.0 VARIANT=jessie/cli
- VERSION=7.0 VARIANT=jessie/fpm
- VERSION=7.0 VARIANT=jessie/zts
- VERSION=5.6 VARIANT=alpine3.4/cli
- VERSION=5.6 VARIANT=alpine3.4/fpm
- VERSION=5.6 VARIANT=alpine3.4/zts
- VERSION=5.6 VARIANT=jessie/apache
- VERSION=5.6 VARIANT=jessie/cli
- VERSION=5.6 VARIANT=jessie/fpm
- VERSION=5.6 VARIANT=jessie/zts
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VERSION/$VARIANT"
- SUBVARIANT="${VARIANT#*/}"
- image="php:${VERSION}-${SUBVARIANT}-${VARIANT%/*}"
script:
- travis_retry docker build -t "$image" .
- ~/official-images/test/run.sh "$image"
after_script:
- docker images
# vim:set et ts=2 sw=2: