Running docker.

This commit is contained in:
tomasgodoi 2017-07-06 00:55:10 -03:00
parent 6bec4bb5b6
commit b64c6e34ee

View File

@ -6,5 +6,7 @@ python:
- "2.7"
install:
- docker build -f tests/Dockerfile -t txgio/anki-connect .
script: >
curl localhost:8765 -X POST -s -d '{"action": "version"}'
script:
- docker run -ti -d --rm -p 8765:8765 txgio/anki-connect
- >
curl localhost:8765 -X POST -s -d '{"action": "version"}'