summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2015-12-04 14:45:02 +1300
committerRobert Collins <robertc@robertcollins.net>2015-12-04 14:56:51 +1300
commita613a790d85bc87a32feb18807d108aaf41839d3 (patch)
treea0057a40d49e9f901734eceaed0e9c2a024db9bc
parent0c25c10e8d378c8329d75ac4e98348a8439db6a5 (diff)
downloadtestresources-git-a613a790d85bc87a32feb18807d108aaf41839d3.tar.gz
Add a Travis config.
-rw-r--r--.travis.yml21
-rw-r--r--README1
-rw-r--r--setup.cfg8
3 files changed, 28 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c32402a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,21 @@
+language: python
+
+python:
+ - "2.6"
+ - "2.7"
+ - "3.2"
+ - "3.3"
+ - "3.4"
+ - "3.5-dev"
+ - "pypy"
+ - "pypy3"
+ - "nightly"
+
+install:
+ - pip install -U pip
+ - pip install -U wheel setuptools
+ - pip install .[test]
+
+script:
+ - python -m testtools.run discover
+ - rst2html.py --strict README README.html
diff --git a/README b/README
index 24a3ac8..3550e6c 100644
--- a/README
+++ b/README
@@ -29,6 +29,7 @@ Dependencies to build/selftest
==============================
* Python 2.4+ (or 3.2+)
+* docutils
* testtools (http://pypi.python.org/pypi/testtools/)
* fixtures (http://pypi.python.org/pypi/fixtures)
diff --git a/setup.cfg b/setup.cfg
index 77a031c..22ae8e9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,7 +1,5 @@
[metadata]
name = testresources
-author = Robert Collins
-author_email = robertc@robertcollins.net
author = Testresources developers
author_email = https://launchpad.net/~testresources-developers
home-page = https://launchpad.net/testresources
@@ -19,6 +17,12 @@ classifiers =
Topic :: Software Development :: Quality Assurance
Topic :: Software Development :: Testing
+[extras]
+test =
+ docutils
+ fixtures
+ testtools
+
[files]
scripts =