Fix some bugs on .travis.yml