Added support for travis. Fixes #19.