Configure travis-ci

Depends on #23
Fixes #18