Merge pull request #5 from dnephin/enable_travis_ci

Add .travis.yml
This commit is contained in:
Daniel Nephin 2015-07-14 13:29:14 -07:00
commit bbf53ed53c
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 Docker Custodian
================ ================
.. image:: https://travis-ci.org/Yelp/docker-custodian.svg
:target: https://travis-ci.org/Yelp/docker-custodian
Keep docker hosts tidy. Keep docker hosts tidy.

View File

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