因为我需要一个新版本的docker-compose,所以我还需要一个新版本的docker-engine。我试过了:
before_install:
- sudo apt-get install -qq docker-engine但是,在出现提示时,构建会停滞不前:
Configuration file '/etc/default/docker'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** docker (Y/I/N/O/D/Z) [default=N] ? 我如何让它保留旧版本而不阻塞?(或者我应该接受新版本?我猜Travis CI正在对它做一些事情...)
我首先尝试了sudo apt-get remove -qq docker-engine,它似乎没有任何作用。
发布于 2016-04-01 13:54:44
确保您使用正确的Travis CI环境,即Trusty beta environment。
然后查看updating your Docker Compose here的Travis文档。
https://stackoverflow.com/questions/36186848
复制相似问题