Travis integration

Based on pull #7 by Frank.