From 0d3682eced9b202c89f73a4af1026f14f6c9938d Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 2 Apr 2015 16:11:51 -0600 Subject: [PATCH] Add initial .travis.yml --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..1af50336 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +language: bash + +# for secret experimental features ;) +dist: trusty + +env: + - VERSION=5.6 VARIANT= + - VERSION=5.6 VARIANT=apache + - VERSION=5.6 VARIANT=fpm + - VERSION=5.5 VARIANT= + - VERSION=5.5 VARIANT=apache + - VERSION=5.5 VARIANT=fpm + - VERSION=5.4 VARIANT= + - VERSION=5.4 VARIANT=apache + - VERSION=5.4 VARIANT=fpm + +install: + - git clone https://github.com/docker-library/official-images.git ~/official-images + +before_script: + - env | sort + - cd "$VERSION" + - image="php:${VERSION}${VARIANT:+-$VARIANT}" + +script: + - docker build -t "$image" "${VARIANT:-.}" + - ~/official-images/test/run.sh "$image" + +# vim:set et ts=2 sw=2: