php/.travis.yml

51 lines
1.3 KiB
YAML
Raw Normal View History

2015-04-03 00:11:51 +02:00
language: bash
services: docker
2015-04-03 00:11:51 +02:00
env:
2017-06-09 22:54:54 +02:00
- VERSION=7.2-rc VARIANT=
- VERSION=7.2-rc VARIANT=alpine
- VERSION=7.2-rc VARIANT=apache
- VERSION=7.2-rc VARIANT=fpm
- VERSION=7.2-rc VARIANT=fpm/alpine
- VERSION=7.2-rc VARIANT=zts
- VERSION=7.2-rc VARIANT=zts/alpine
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
- VERSION=7.0 VARIANT=
- VERSION=7.0 VARIANT=alpine
- VERSION=7.0 VARIANT=apache
- VERSION=7.0 VARIANT=fpm
- VERSION=7.0 VARIANT=fpm/alpine
2016-01-06 20:28:20 +01:00
- VERSION=7.0 VARIANT=zts
- VERSION=7.0 VARIANT=zts/alpine
2015-04-03 00:11:51 +02:00
- VERSION=5.6 VARIANT=
- VERSION=5.6 VARIANT=alpine
2015-04-03 00:11:51 +02:00
- VERSION=5.6 VARIANT=apache
- VERSION=5.6 VARIANT=fpm
- VERSION=5.6 VARIANT=fpm/alpine
2016-01-06 20:28:20 +01:00
- VERSION=5.6 VARIANT=zts
- 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}"
- image="${image//'/'/-}"
2015-04-03 00:11:51 +02:00
script:
- travis_retry docker build -t "$image" "${VARIANT:-.}"
2015-04-03 00:11:51 +02:00
- ~/official-images/test/run.sh "$image"
after_script:
- docker images
2015-04-03 00:11:51 +02:00
# vim:set et ts=2 sw=2: