34
3
mirror of https://github.com/joomla-docker/docker-joomla.git synced 2024-11-16 18:15:17 +00:00
docker/.travis.yml
2018-12-10 18:59:42 +01:00

34 lines
691 B
YAML

language: bash
services: docker
env:
- VARIANT=php5.6/apache
- VARIANT=php5.6/fpm
- VARIANT=php5.6/fpm-alpine
- VARIANT=php7.1/apache
- VARIANT=php7.1/fpm
- VARIANT=php7.1/fpm-alpine
- VARIANT=php7.2/apache
- VARIANT=php7.2/fpm
- VARIANT=php7.2/fpm-alpine
- VARIANT=php7.3/apache
- VARIANT=php7.3/fpm
- VARIANT=php7.3/fpm-alpine
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VARIANT"
- slash='/'; image="joomla:${VARIANT//$slash/-}"
script:
- docker build -t "$image" .
- ~/official-images/test/run.sh "$image"
after_script:
- docker images
# vim:set et ts=2 sw=2: