mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-19 04:47:52 +00:00
REL-0.11 Switch to new travis environment
This commit is contained in:
parent
66b58e5960
commit
0430331123
@ -173,11 +173,14 @@ matrix:
|
||||
before_install:
|
||||
# Get newer docker version
|
||||
- max=100; i=0; while [ $i -lt $max ]; do if sudo apt-get update; then break; else i=$((i+1)); fi done
|
||||
- max=100; i=0; while [ $i -lt $max ]; do if sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine; then break; else i=$((i+1)); fi done
|
||||
- max=100; i=0; while [ $i -lt $max ]; do if sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce; then break; else i=$((i+1)); fi done
|
||||
# Get newer docker-compose version
|
||||
- curl -L --retry 100 --retry-max-time 0 https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > docker-compose
|
||||
- chmod +x docker-compose
|
||||
- sudo mv -f docker-compose /usr/local/bin
|
||||
# List versions
|
||||
- docker version
|
||||
- docker-compose version
|
||||
|
||||
|
||||
###
|
||||
|
Loading…
Reference in New Issue
Block a user