Add .travis.yml

This commit is contained in:
Daniel Nephin 2015-07-14 13:11:43 -07:00
parent 760dff075f
commit 46fec73506
3 changed files with 21 additions and 0 deletions

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: python
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
install:
- "pip install --use-mirrors tox"
script:
- tox -e $TOX_ENV
sudo: false

View File

@ -1,6 +1,9 @@
Docker Custodian
================
.. image:: https://travis-ci.org/Yelp/docker-custodian.svg
:target: https://travis-ci.org/Yelp/docker-custodian
Keep docker hosts tidy.

View File

@ -11,6 +11,13 @@ commands =
py.test {posargs:tests}
flake8 .
[testenv:py26]
deps =
-rrequirements.txt
flake8
pytest
mock < 1.1.0
[testenv:install-hooks]
deps =
pre-commit