Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Travis config

  • Loading branch information...
commit 2f0db88da26e8d6f5ce8305a34293db12bc89937 1 parent 883e687
@jimr authored
Showing with 22 additions and 5 deletions.
  1. +13 −0 .travis.yml
  2. +9 −5 README.rst
View
13 .travis.yml
@@ -0,0 +1,13 @@
+language: python
+python:
+ - "2.5"
+ - "2.6"
+ - "2.7"
+ - "3.1"
+ - "3.2"
+script: python setup.py test
+install:
+ - pip install --use-mirrors testy
+ - if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors requirements-2.5.txt
+ - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors requirements-2.6.txt
+ - if [[ $TRAVIS_PYTHON_VERSION == '3.1' ]]; then pip install --use-mirrors requirements-3.1.txt
View
14 README.rst
@@ -2,13 +2,15 @@
Py-ProjectMill
==============
-Python port of https://github.com/mapbox/projectmill
+.. image:: https://travis-ci.org/jimr/py-projectmill.png
+ :target: http://travis-ci.org/jimr/py-projectmill
+
+Python port of https://github.com/mapbox/projectmill for Python 2.5+ (including 3.X).
Currently only support ``--mill`` and ``--render``.
There are no requirements for Python 2.7, 3.2+, and pypy-1.9 unless you want to run the tests.
-To run tests, first ``pip install nose testy`` and then just run ``nosetests``.
-Alternatively, just run ``python setup.py test``.
+To run tests, simply ``python setup.py test``.
The remainder of the documentation is adapted from the original project.
@@ -24,8 +26,10 @@ Example: ``projectmill --mill -c config.example.json -t ../tilemill/``
Installation
============
-Install from source with ``pip install -e .`` or ``python setup.py install``, or direct from the cheese shop with ``pip install py-projectmill``.
-If you're using Python 2.5, 2.6, 3.0, or 3.1, you will need to ``pip install -r requirements-X.Y.txt`` (they don't include ``argparse``, which is required, and 2.5 needs ``simplejson``).
+The easiest route is to just ``pip install py-projectmill``.
+
+To install from source: ``pip install -e .`` or ``python setup.py install``.
+If you're using Python 2.5, 2.6, 3.0, or 3.1, you will also need to ``pip install -r requirements-X.Y.txt`` (they don't include ``argparse``, which is required, and 2.5 needs ``simplejson``).
Tests pass with all versions from 2.5 - 3.3 and pypy-1.9, so it ought to work for just about everyone.
Please sign in to comment.
Something went wrong with that request. Please try again.