1
当我使用Travis CI"container-based" infrastructure,我必须有如何使用基于容器的基础架构从Travis CI自动部署?
sudo: false
集my .travis.yml
;但是这似乎不符合automatic deployment使用,例如
deploy:
provider: hackage
导致我的构建失败,
安装部署依赖
须藤:必须是setuid root的
如何我可以在Travis CI中使用基于容器的基础设施进行自动部署吗?
生成日志的最后几行,从代码构建和测试的顺利完成是:
The command "stack $ARGS --no-terminal --install-ghc test --haddock" exited with 0.
#cache.2
store build cache
83.58schanges detected, packing new archive
.
#...
.
uploading archive
#dpl.0
Fetching: dpl-1.8.7.gem (100%)
Successfully installed dpl-1.8.7
1 gem installed
#dpl.1
Installing deploy dependencies
sudo: must be setuid root
#dpl.2
Preparing deploy
No stash found.
cabal check failed
failed to deploy
怎么样?你能精心准备吗? –