2017-07-06 03:14:04 +00:00
|
|
|
sudo: required
|
2017-07-06 03:19:44 +00:00
|
|
|
language: python
|
2017-07-06 03:14:04 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
install:
|
2017-08-29 03:18:10 +00:00
|
|
|
- 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
|