add testing branchs and 3.1 to matrix
Merge pull request #52 from bodepd/travis

add testing branchs and 3.1 to matrix