Add Travis configuration and a badge

Fixes #110.