lebigot/uncertainties — pull request #10 by cdeil (2012-11-15 23:29:45+00:00)
Title: Continuous integration for uncertainties on travis-ci

https://travis-ci.org is this awesome free service that automatically runs your unit tests and integrates with github in the sense that github tells travis-ci about new commits, and travis-ci tells github if the build passed or failed for pull requests.

You can see the latest results here:
https://travis-ci.org/cdeil/uncertainties

Actually this shows that you currently have this test failure with Python 2:
```
ERROR: Checks special cases of x**p.
```
https://travis-ci.org/cdeil/uncertainties/jobs/3220353/#L91

and this test failure with Python 3:
```
ERROR: Failure: NameError (name 'long' is not defined)
```
https://travis-ci.org/cdeil/uncertainties/jobs/3220354/#L91

Sorry for the wild and confusing commit history, part of it is because I was tired, but part of it is also that it simply takes some playing around to get the `.travis.yml` file right.

Note that I deactivate the virtualenv and install binary numpy so that not every build wastes five minutes building numpy.

If you want to test e.g. Python 2.6 and 3.3 in addition to the 2.7 and 3.2 that are tested now, you'd have to change to the normal mode and use:
```
python:
2.6
2.7
3.2
3.3
```
and install numpy and sphinx with pip.

Maybe we should also add builds without numpy available since it's an optional dependency, to make sure the tests that are supposed to work without numpy actually do run?