- Run tests on Django 1.7, 1.8 and 1.9.
- Import of a test case fails on 3.3 and this version of Python is not
available on Debian anymore, not even Jessie.
Python 3.2.x is deprecated, so I thought it would be
good to get tests running on some newer pythons. I've
switched from the python3-gi package to using 'pgi' from
pypi, because the apt-installed python3-gi was having trouble
importing.
pgi required python 3.3+ (see: https://pypi.python.org/pypi/pgi),
so I've removed python 3.2 from the test matrix. Let me know if
we're using python 3.2 anywhere, but as far as I know plinth is
run on python 3.4.3 with debian sid on the freedombox image.
This patch installs coverage 3.7 instead of latest coverage 4.0 on
Travis before a build. Coverage 4.0 does not support Python 3.2. Due to
need for system-installed, python-dependency packages and due to Travis
infrastructure using Ubuntu 12.04, we can only build on Python 3.2 in
Travis.
- Add files .travis.yml and requirements.txt
- In setup.py, remove 'pygobject' from install_requires
- In setup.py, add 'pyyaml' to install_requires
- Add file plinth/tests/coverage/__init__.py
- Rename file plinth/tests/coverage/test_coverage.py to coverage.py
- In plinth/tests/coverage/coverage.py, rename class TestCoverageCommand
to CoverageCommand