.travis.yml in r10k-3.8.0 vs .travis.yml in r10k-3.9.0
- old
+ new
@@ -27,19 +27,26 @@
language: ruby
services:
- docker
rvm: 2.6.6
env:
- - DOCKER_COMPOSE_VERSION=1.25.5
+ - DOCKER_COMPOSE_VERSION=1.28.6
+ - DOCKER_BUILDX_VERSION=0.5.1
# necessary to prevent overwhelming TravisCI build output limits
- DOCKER_BUILD_FLAGS="--progress plain"
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl --location https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname --kernel-name`-`uname --machine` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
+ - mkdir -vp ~/.docker/cli-plugins
+ - curl --location https://github.com/docker/buildx/releases/download/v${DOCKER_BUILDX_VERSION}/buildx-v${DOCKER_BUILDX_VERSION}.linux-amd64 > ~/.docker/cli-plugins/docker-buildx
+ - chmod +x ~/.docker/cli-plugins/docker-buildx
+ - docker buildx create --name travis_builder --use
script:
- set -e
- cd docker
- make lint
- make build
- make test
+ after_script:
+ - docker buildx rm travis_builder