Add Travis configuration

This should fix #199.