mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2025-01-10 08:34:04 +00:00
Add Travis-CI integration
This commit is contained in:
parent
7291e378a1
commit
f0117453ed
25
.travis.yml
Normal file
25
.travis.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
language: bash
|
||||||
|
services: docker
|
||||||
|
|
||||||
|
env:
|
||||||
|
- VARIANT=apache
|
||||||
|
- VARIANT=apache-php7
|
||||||
|
- VARIANT=fpm
|
||||||
|
- VARIANT=fpm-php7
|
||||||
|
|
||||||
|
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:
|
Loading…
Reference in New Issue
Block a user