anki-connect/.travis.yml
2017-08-29 01:29:58 -03:00

12 lines
303 B
YAML

sudo: required
language: python
services:
- docker
python:
- "2.7"
install:
- docker build -f tests/docker/Dockerfile -t txgio/anki-connect .
script:
- docker run -ti -d --rm -p 8888:8765 -e ANKICONNECT_BIND_ADDRESS=0.0.0.0 txgio/anki-connect
- sleep 5
- python -m unittest discover -s tests