Make travis able to run the tests with different env configurations

`RAILS_3_2=true rake test`
`RAILS_3_1=true rake test`

Does it fit your needs?