Travis: Run tests in Docker image.

This commit is contained in:
Brandon Amos 2015-12-22 23:11:44 -05:00
parent 9488550c24
commit f85045e5c4
1 changed files with 7 additions and 1 deletions

View File

@ -1,9 +1,15 @@
sudo: requires
services:
- docker
language: python language: python
python: python:
- "2.7" - "2.7"
install: install:
- pip install pep8 - pip install nosetests pep8
script: script:
- pep8 --ignore=E402,E501 . - pep8 --ignore=E402,E501 .
- docker build -t openface docker/Dockerfile
- docker run -t -i openface "nosetests2 -v -d ~/src/openface/test.py"