Skip to content

Commit

Permalink
Travis: Move docker commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Amos committed Dec 24, 2015
1 parent 0469eba commit c2c6eb8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ language: python
python:
- "2.7"

before_install:
install:
- docker pull bamos/openface
- pip install flake8

script:
- flake8 --ignore=E402,E501 .
- |
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"
install:
- pip install flake8

script:
- flake8 --ignore=E402,E501 .

0 comments on commit c2c6eb8

Please sign in to comment.