Add Travis CI support

Adds in basic Travis support and updates a test to keep 1.8.7 compat.