Skip to content

Commit

Permalink
Move docker-compose install to global (all the jobs)
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Strukelj <marko.strukelj@gmail.com>
  • Loading branch information
mstruk committed Feb 15, 2024
1 parent cfb94a6 commit 641ead9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ jobs:
apt:
packages:
- maven
env:
- DOCKER_COMPOSE_VERSION=v2.24.5
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- os: linux
arch: ppc64le
jdk: openjdk17
Expand Down Expand Up @@ -55,8 +48,14 @@ addons:
- kerberos
env:
global:
- DOCKER_COMPOSE_VERSION=v2.24.5
- PULL_REQUEST=${TRAVIS_PULL_REQUEST}
- TAG=${TRAVIS_TAG:-latest}
- BRANCH=${TRAVIS_BRANCH:-main}
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- "./.travis/build.sh"

0 comments on commit 641ead9

Please sign in to comment.