chore: Makefile, package.json, .travis.yml

* use make test to run test
* check TRAVIS by ifdef