dist: xenial
language: ruby
cache: bundler

env:
  global:
    - PACKER_VERSION="1.3.5"
    - PATH=$HOME/bin:$PATH

rvm:
  - 2.6.1

branches:
  only:
    - master

before_install:
  - wget https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip
  - unzip -d ~/bin packer_${PACKER_VERSION}_linux_amd64.zip

before_script:
  - packer --version

script: rake validate

dist: xenial
language: ruby
cache: bundler

env:
  global:
    - PACKER_VERSION="1.4.1"
    - PATH=$HOME/bin:$PATH

rvm:
  - 2.6.1

branches:
  only:
    - master

before_install:
  - wget https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip
  - unzip -d ~/bin packer_${PACKER_VERSION}_linux_amd64.zip

before_script:
  - packer --version

script: rake validate

Update Packer in Travis to the latest
Update Packer in Travis to the latest

Why not

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
