我的.travis.yml是:language: gogo: - 1.5install: - go get github.com/tools/godep - godep restorebranches: only: - masterscript: - go build example/myproduct/deployer/deployer.gonotifications: email: false而且它没有与此错误:go build example/myproduct/deployer/deployer.go go install command-line-arguments: build output "deployer" already exists and is a directory The command "go build example/myproduct/deployer/deployer.go" exited with 1. Done. Your build exited with 1.我有VagrantFile 可以的:go get github.com/tools/godepcd /opt/gopath/src/github.com/dorzheh/deployergodep restoreln -s /opt/gopath/src/github.com/dorzheh/deployer/example/myproduct/ /home/vagrant/examplecd /home/vagrant/go build /home/vagrant/example/deployer/deployer.go
1 回答
摇曳的蔷薇
TA贡献1793条经验 获得超6个赞
查看https://github.com/weldpua2008/deployer,它确实deployer
在根目录下有一个目录。当您发出时,go build example/myproduct/deployer/deployer.go
它会尝试创建一个名为deployer
但失败的文件,因为该目录已经存在。
- 1 回答
- 0 关注
- 146 浏览
添加回答
举报
0/150
提交
取消