fixing package docker-engine is not available.

This commit is contained in:
Shao Yu Lung 2017-06-29 09:25:24 +08:00
parent d181a69a73
commit 26d7fb01ed
1 changed files with 3 additions and 1 deletions

View File

@ -41,8 +41,10 @@ env:
# Installing a newer Docker version
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
- sudo apt-get -y install docker-ce
script: ./travis-build.sh