--- language: ruby bundler_args: "--without system" script: "bundle exec rspec --color --format documentation spec/unit" notifications: email: false sudo: false jdk: - openjdk11 before_install: gem install bundler -v '< 2' --no-document matrix: include: - stage: r10k tests rvm: 2.3.0 - stage: r10k container tests dist: focal language: ruby services: - docker rvm: 2.6.6 env: - 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