fix #23
fix #22
Merge pull request #26 from cvrebert/travis-ci

setup Travis CI build