aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-07 12:18:02 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-07 12:18:02 -0700
commit0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0 (patch)
tree5856475c12e0a01646e98a3ea2972de2b5a4740f /.travis.yml
parent6c7cfeb02076bdc831df54a3688b3c7126baf38a (diff)
downloadcryptography-0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0.tar.gz
cryptography-0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0.tar.bz2
cryptography-0f66c6df6da33b1a0799018d34d9dd0f18e9c0d0.zip
Move all tests to be controlled by tox
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
1 files changed, 12 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 08fa5d04..fe46c7d3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,15 @@
language: python
-python:
- - 2.6
- - 2.7
- - 3.2
- - 3.3
+python: 2.7
+env:
+ - TOX_ENV=py26
+ - TOX_ENV=py27
+ - TOX_ENV=py32
+ - TOX_ENV=py33
+ - TOX_ENV=docs
+ - TOX_ENV=pep8
+
install:
- - pip install pytest flake8 sphinx
+ - pip install tox
+
script:
- - py.test
- - "flake8 . --ignore='E128'"
- - sphinx-build -W -bhtml docs/ docs/_build/html/
+ - tox -e $TOX_ENV