anki-connect/.travis.yml

12 lines
297 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/docker/Dockerfile -t txgio/anki-connect .
2017-07-06 03:55:10 +00:00
script:
2017-08-29 04:21:32 +00:00
- docker run -ti -d --rm -p 8888:8765 -e ANKICONNECT_BIND_ADDRESS=0.0.0.0 txgio/anki-connect
2017-07-06 03:59:42 +00:00
- sleep 5
2017-08-29 04:21:32 +00:00
- python -m unittest discover -v