update travis file for 2.6,3.1 support
Merge pull request #32 from bodepd/travis

update travis file for 2.6,3.1 support