anki-connect/.travis.yml

15 lines
374 B
YAML
Raw Normal View History

sudo: required
2017-07-06 03:19:44 +00:00
language: python
2017-08-29 04:34:08 +00:00
addons:
hosts:
- docker
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
- ./tests/scripts/wait-up.sh http://docker:8888
- python -m unittest discover -s tests -v