.travis.yaml condition check fixed