TST: remove Python 2.4 and 2.5 testing from Travis config.

Done because for 1.8 we're not supporting these Python versions anymore,
and this PR break 2.4 compatibility.