34
3
mirror of https://github.com/joomla-docker/docker-joomla.git synced 2024-11-12 00:06:32 +00:00
docker/.travis.yml
2018-01-30 17:25:46 +01:00

30 lines
557 B
YAML

language: bash
services: docker
env:
- VARIANT=apache
- VARIANT=apache-php7.0
- VARIANT=apache-php7.1
- VARIANT=apache-php7.2
- VARIANT=fpm
- VARIANT=fpm-php7.0
- VARIANT=fpm-php7.1
- VARIANT=fpm-php7.2
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: