Added travis tests for 2.5 and 3.1