From adfae24e261eb934ff0b659245cba7128dcfeba5 Mon Sep 17 00:00:00 2001 From: Frederik Carlier Date: Tue, 19 Oct 2021 11:08:52 +0200 Subject: [PATCH] Bump packer verion --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd8b75d96..0fa74cd99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,14 +2,17 @@ sudo: true language: bash dist: bionic +env: + - PACKER_VERSION=1.7.6 + jobs: include: - env: PROVIDER=qemu TEMPLATE=windows_10 VIRT_GROUP=kvm install: # Install Packer. Travis ships with Packer 1.3, which is fairly old -- wget -nv -nc -O packer_1.6.0_linux_amd64.zip https://releases.hashicorp.com/packer/1.6.0/packer_1.6.0_linux_amd64.zip -- sudo unzip -o packer_1.6.0_linux_amd64.zip -d /usr/local/bin +- wget -nv -nc -O packer_$PACKER_VERSION_linux_amd64.zip https://releases.hashicorp.com/packer/$PACKER_VERSION/packer_$PACKER_VERSION_linux_amd64.zip +- sudo unzip -o packer_$PACKER_VERSION_linux_amd64.zip -d /usr/local/bin # Install ansible - sudo add-apt-repository -y ppa:ansible/ansible