Add travis CI

pull/5/head
Emilien Mantel 2015-07-24 12:11:42 +02:00
parent c5fe52409d
commit 1aa367ed9a
3 changed files with 11 additions and 2 deletions

11
.travis.yml 100644
View File

@ -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'

View File

@ -3,4 +3,3 @@ FROM williamyeh/ansible:debian8-onbuild
RUN apt-get update RUN apt-get update
CMD ["sh", "tests/test.sh"] CMD ["sh", "tests/test.sh"]
EXPOSE 6379

View File

@ -3,4 +3,3 @@ FROM williamyeh/ansible:debian7-onbuild
RUN apt-get update RUN apt-get update
CMD ["sh", "tests/test.sh"] CMD ["sh", "tests/test.sh"]
EXPOSE 6379