added travis-ci file and modify build and gitignore