Revert "Revert "Add Travis configuration""

This reverts commit 45eca995057a80dfab4751665c35b9d3926d5747.