[pycsw-devel] pycsw on travis-ci now
tomkralidis at hotmail.com
Sun Sep 16 17:01:21 PDT 2012
FYI pycsw master is now hooked up to travis-ci (http://travis-ci.org/#!/geopython/pycsw) for continuous integration (general concept: http://en.wikipedia.org/wiki/Continuous_integration). travis-ci is a FOSS, hosted CI solution, and runs from a GitHub hook to test every commit to master.
The actual tests are our test suites (https://github.com/geopython/pycsw/tree/master/tester). The idea is to make sure the code can always build and pass the unit tests under 1..n build scenarios.
We currently have one build scenario. Details:
- Python 2.6 and 2.7
- SQLite3 db
- SQLAlchemy ORM
- Python's native WSGI implementation (wsgiref)
You can see the current build status as well as build history at http://travis-ci.org/#!/geopython/pycsw. When you click a build you see the exact output of what happened.
There were some changes to master as result (like tightening dependency versions).
We are looking to add more build scenarios, namely:
- CGI with apache2
- apache2 and mod_wsgi in pycsw-as-a-library mode
Over time, we will do more build scenarios (e.g. PostgreSQL, PostgreSQL+PostGIS, MySQL, GeoNode, Open Data Catalog, etc.). We should look at the possibilities of supporting Windows builds too (default is Ubuntu).
As well, it looks like travis-ci supports testing GitHub pull requests, to which the results get pushed back as a notice in the PR discussion, so this is very useful too.
The overall spirit is to monitor/test our changes (and implications of them) with much more rigour now that GeoNode and Open Data Catalog are downstream projects.
Comments, ideas and suggestions are welcome!
More information about the pycsw-devel