dist: trusty
sudo: false

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

rvm:
  - 2.5.1
  - ruby-head

matrix:
  allow_failures:
    - rvm: ruby-head

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: bento normalize

dist: xenial
sudo: false

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

rvm:
  - 2.5.3
  - ruby-head

matrix:
  allow_failures:
    - rvm: ruby-head

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: bento normalize

Update Travis to use Ruby 2.5.3 and Packer 1.3.2
Update Travis to use Ruby 2.5.3 and Packer 1.3.2

Update to the latest versions in Travis

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