2015-12-23 12:11:44 +08:00
|
|
|
sudo: requires
|
2015-12-25 00:45:13 +08:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2015-10-13 19:37:40 +08:00
|
|
|
language: python
|
2015-12-25 00:45:13 +08:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2015-12-23 13:20:03 +08:00
|
|
|
|
2015-12-25 00:45:41 +08:00
|
|
|
install:
|
2015-12-24 04:23:12 +08:00
|
|
|
- docker pull bamos/openface
|
2015-12-25 00:45:41 +08:00
|
|
|
- pip install flake8
|
|
|
|
|
|
|
|
script:
|
|
|
|
- flake8 --ignore=E402,E501 .
|
2015-12-24 05:07:29 +08:00
|
|
|
- |
|
|
|
|
docker run -v $PWD:/root/src/openface bamos/openface \
|
|
|
|
/bin/bash -l -c "cd /root/src/openface; \
|
|
|
|
./models/get-models.sh && \
|
|
|
|
python2 setup.py install && \
|
|
|
|
nosetests-2.7 -v -d test.py"
|