Skip to content

Commit

Permalink
Merge pull request #3 from andrewsomething/dockerfile
Browse files Browse the repository at this point in the history
Namespace the Dockerfiles for tests.
  • Loading branch information
andrewsomething committed Sep 30, 2016
2 parents d7b0f76 + 9526b62 commit 75bed35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -5,13 +5,13 @@ python:
services:
- docker
before_install:
- docker build -t fab_sshd_ubuntu tests/
- docker build -t fab_sshd_ubuntu -f tests/Dockerfile.apt .
install:
- pip install fabric
- pip install nose
- pip install coverage
script:
- sudo service docker restart; sleep 10
- sudo service docker restart; sleep 15
- nosetests -v --with-coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_apt.py
Expand Up @@ -24,7 +24,7 @@ def setUp(self):
if image_name not in docker('images'):
print('Building Docker image...')
dfile = os.path.join(os.path.dirname(os.path.realpath(__file__)),
'Dockerfile')
'Dockerfile.apt')
docker('build -t %s -f %s .' % (image_name, dfile))
else:
print('Using cached Docker image...')
Expand Down

0 comments on commit 75bed35

Please sign in to comment.