Skip to content

Commit 27dac27

Browse files
committed
Add Travis and Tox
1 parent 58f5b71 commit 27dac27

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
build/*
44
dist/*
55
doc/build/*
6+
.tox

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: python
2+
python: 2.7
3+
services:
4+
- couchdb
5+
env:
6+
- TOX_ENV=py26
7+
- TOX_ENV=py27
8+
install:
9+
- pip install tox
10+
script:
11+
- tox -e $TOX_ENV

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
CouchDB-Python Library
22
======================
33

4+
.. image:: https://travis-ci.org/djc/couchdb-python.svg
5+
:target: https://travis-ci.org/djc/couchdb-python
6+
47
A Python library for working with CouchDB. `Downloads`_ are available via `PyPI`_.
58
Our `documentation`_ is also hosted there. We have a `mailing list`_.
69

tox.ini

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[tox]
2+
envlist = py26, py27
3+
4+
[testenv]
5+
commands =
6+
python setup.py develop
7+
{envbindir}/python -m couchdb.tests
8+
9+
[testenv:py26]
10+
deps =
11+
simplejson
12+
commands =
13+
python setup.py develop
14+
{envbindir}/python -m couchdb.tests.__main__

0 commit comments

Comments
 (0)