Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add travis-ci config

  • Loading branch information...
commit c44c25b3fe43bf96fce8d93af3721382c8a4912a 1 parent bff9f66
@mapleoin authored
Showing with 18 additions and 6 deletions.
  1. +10 −0 .travis.yml
  2. +4 −6 README.rst
  3. +1 −0  pip-requires
  4. +3 −0  test-requires
View
10 .travis.yml
@@ -0,0 +1,10 @@
+language: python
+python:
+ - "2.6"
+ - "2.7"
+install:
+ - pip install -r pip-requires --use-mirrors
+ - pip install -r test-requires --use-mirrors
+script:
+ - nosetests
+ - pep8 git_tarballs *py
View
10 README.rst
@@ -22,13 +22,11 @@ On the first run, ``git_tarballs`` will just set the spec file's
be updated with commit message information when newer commits (compared
to the one now set in ``Version``) are found.
-Dependencies
-------------
+Up to date requirements are kept in the files ``pip-requires`` and
+``test-requires``
-Requires argparse which is part of python2.7, but available as a
-third-party dependency in python2.6.
-
-The tests require `python-mock`_. To run them, just use ``nosetests`` or ``python -m unittest discover`` (on python2.7).
+To run the testsuite, just use ``nosetests`` or ``python -m unittest
+discover`` (on python2.7).
TODO
View
1  pip-requires
@@ -0,0 +1 @@
+argparse
View
3  test-requires
@@ -0,0 +1,3 @@
+mock
+nose
+pep8
Please sign in to comment.
Something went wrong with that request. Please try again.