Fix Docker install on TravisCi by allowing the docker-ce package to be downgraded

- Started happening since TravisCI updated docker-ce https://docs.travis-ci.com/user/build-environment-updates/2017-12-12/
    - Can't use v17.09 since the git tag doesn't exist yet
This commit is contained in:
Dale Hui 2017-12-24 23:51:55 -08:00
parent 3b61abf20a
commit 303cd74e5f
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ services:
install:
- make deps
- (cd $GOPATH/src/github.com/docker/docker && git fetch --all --tags --prune && git checkout v17.05.0-ce)
- sudo apt-get update && sudo apt-get install docker-ce=17.05.0*
- sudo apt-get update && sudo apt-get --allow-downgrades install docker-ce=17.05.0*
- go get github.com/mattn/goveralls
script: