From f0117453ede9375df621d22d4b3949f368924fb2 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Fri, 14 Oct 2016 13:44:05 -0500 Subject: [PATCH] Add Travis-CI integration --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f96cc08 --- /dev/null +++ b/.travis.yml @@ -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: