Fix travis-ci building error and security issue

I would also suggest modify the GITHUB_TOKEN as it is already leaded in the travis-ci building log.