Support travis

resolves #11 and #7.