add travis testing support

(cherry picked from commit 5dcf69e60bd2d70423a23de2584af8b377d28a79)
Merge pull request #299 from rhafer/travis

add travis testing support