openface/.travis.yml

25 lines
646 B
YAML
Raw Normal View History

2015-12-23 12:11:44 +08:00
sudo: requires
2015-12-25 00:45:13 +08:00
services:
- docker
language: python
2015-12-25 00:45:13 +08:00
python:
- "2.7"
2015-12-25 00:45:41 +08:00
install:
- pip install flake8
2015-12-27 21:47:24 +08:00
- sudo apt-get update -qq
- sudo apt-get install -y luarocks
2015-12-27 21:49:06 +08:00
- sudo luarocks install luacheck
2015-12-27 21:41:57 +08:00
- docker pull bamos/openface
2015-12-25 00:45:41 +08:00
script:
- flake8 --ignore=E402,E501 .
2015-12-27 22:09:14 +08:00
- luacheck . --no-global --no-self --exclude-files '*/torch-TripletEmbedding'
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"