Fix travis.yaml to support travis build