Add crate metadata attributes
Cast to proper integer type
Add travis-ci support