Add travis functionality

Uses Travis for CI; build each commit and indicate any errors or problems.