Travis: Run tests in Docker image.
This commit is contained in:
parent
9488550c24
commit
f85045e5c4
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue