Add travis CI
parent
c5fe52409d
commit
1aa367ed9a
|
@ -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'
|
|
@ -3,4 +3,3 @@ FROM williamyeh/ansible:debian8-onbuild
|
|||
RUN apt-get update
|
||||
CMD ["sh", "tests/test.sh"]
|
||||
|
||||
EXPOSE 6379
|
||||
|
|
|
@ -3,4 +3,3 @@ FROM williamyeh/ansible:debian7-onbuild
|
|||
RUN apt-get update
|
||||
CMD ["sh", "tests/test.sh"]
|
||||
|
||||
EXPOSE 6379
|
||||
|
|
Loading…
Reference in New Issue