mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00

Travis[1] runs continuous integration for Open Source projects. With github, it will run the configured tests and tag pull requests as passing or failing. This commit adds a Travis configuration. Since Travis hosts run debian/ubuntu, and execute tests in virtualenv, getting access to `rpm` and `python-rpm` is impossible, or nontrivial, at least. For now, ignore the functional tests. To support running the BuildTargetParser tests, pull that class out into its own module, and away from release.py, which imports `rpm`. To configure travis, go to the website, log in with your github account, then sync your repos under the account tab below your name. Then just switch the repo to 'on' and it should be all set up. [1]: http://travis-ci.org
8 lines
140 B
YAML
8 lines
140 B
YAML
language: python
|
|
python:
|
|
- "2.5"
|
|
- "2.6"
|
|
- "2.7"
|
|
|
|
install: pip install 'GitPython >= 0.2.0' --use-mirrors
|
|
script: nosetests test/unit
|