anki-connect/.travis.yml

12 lines
275 B
YAML
Raw Normal View History

sudo: required
2017-07-06 03:19:44 +00:00
language: python
services:
- docker
python:
- "2.7"
install:
- docker build -f tests/Dockerfile -t txgio/anki-connect .
2017-07-06 03:55:10 +00:00
script:
- docker run -ti -d --rm -p 8765:8765 txgio/anki-connect
- >
curl localhost:8765 -X POST -s -d '{"action": "version"}'