diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..82e8c09 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +env: +- PLATFORM=debian-wheezy +- PLATFORM=debian-jessie + +sudo: true + +install: +- curl -sLo - http://j.mp/install-travis-docker | sh -xe + +script: +- ./run 'docker build -f tests/$PLATFORM.Dockerfile -t test-$PLATFORM . && docker run --name $PLATFORM test-$PLATFORM' diff --git a/tests/debian-jessie.Dockerfile b/tests/debian-jessie.Dockerfile index d726a03..fc71280 100644 --- a/tests/debian-jessie.Dockerfile +++ b/tests/debian-jessie.Dockerfile @@ -3,4 +3,3 @@ FROM williamyeh/ansible:debian8-onbuild RUN apt-get update CMD ["sh", "tests/test.sh"] -EXPOSE 6379 diff --git a/tests/debian-wheezy.Dockerfile b/tests/debian-wheezy.Dockerfile index f496538..0138946 100644 --- a/tests/debian-wheezy.Dockerfile +++ b/tests/debian-wheezy.Dockerfile @@ -3,4 +3,3 @@ FROM williamyeh/ansible:debian7-onbuild RUN apt-get update CMD ["sh", "tests/test.sh"] -EXPOSE 6379