Commit 1bda51f7 authored by Luke Macken's avatar Luke Macken

Merge pull request #38 from msabramo/testing

Add support for tox (http://tox.testrun.org/) and Travis CI (http://travis-ci.org/)
parents 2a986943 8145740d
...@@ -6,3 +6,4 @@ build ...@@ -6,3 +6,4 @@ build
dist dist
docs/_build docs/_build
__pycache__ __pycache__
.tox
language: python
python:
- 2.6
- 2.7
install: python setup.py install
script:
- pip install --use-mirrors unittest2
- sudo apt-get install gdb
- sudo unit2 discover
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py26, py27
[testenv]
commands = sudo {envbindir}/unit2 discover
deps = unittest2
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment