mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-02-24 09:23:29 +07:00
Add travis CI
This commit is contained in:
11
.travis.yml
Normal file
11
.travis.yml
Normal 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'
|
||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user