make get a method
Merge pull request #2645 from andymckay/travis-fixup

fix travis