Fixed testing, fixed python3 compatibility, added classifiers for PyPI

- Made it possible to run `python manage.py test` and get passing tests
- Added a `.travis.yml` file to enable Travis CI builds
- Fixed Python 3 compatibility without compromising Django 1.4 compatibility
- Added trove classifiers to `setup.py` for PyPI
If I'm not mistaken, specifying "django==1.4" will install the latest minor
release in the 1.4 line (i.e 1.4.13). You will only get 1.4.0 if you
specifically ask for it, for example "django==1.4.0".


Win~


On Mon, Jul 14, 2014 at 10:41 AM, Daniel Hawkins <notifications@github.com>
wrote:

> In .travis.yml:
>
> > @@ -0,0 +1,24 @@
> > +language: python
> > +python:
> > +    - "2.7"
> > +    - "3.2"
> > +    - "3.3"
> > +    - "3.4"
> > +    - "pypy"
> > +env:
> > +    - DJANGO="django>=1.4,<1.5"
>
> That would cause Travis to test against Django 1.4.0, 1.5.0, 1.6.0, etc.,
> instead of the most recent security releases (1.4.13, 1.5.8, 1.6.5, etc.).
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/selwin/django-user_agents/pull/6/files#r14863061>.
>