Revert "Add travis CI config file"

This reverts commit 37b0915e830dd57efbd6bb02b4ebc9016c90da04.
fix a type error and republish to npm