From 99062dcf233ec379675a648b82f99e296c237a26 Mon Sep 17 00:00:00 2001 From: Kilian Engelhardt Date: Mon, 21 Aug 2017 12:08:24 +0200 Subject: add travis file to validate vagrant.json --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4dd6fcc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: generic +dist: trusty +sudo: false + +env: + matrix: + - DIST=trusty + global: + - PACKER_ZIP="packer_1.0.4_linux_amd64.zip" + - PACKER_URL="https://releases.hashicorp.com/packer/1.0.4/packer_1.0.4_linux_amd64.zip" + +install: +- wget "${PACKER_URL}" +- unzip "${PACKER_ZIP}" + +script: +- ./packer --version +- ./packer validate vagrant.json + +notifications: + - email: false -- cgit v1.2.3-70-g09d2