summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..d698deb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+language: generic
+dist: trusty
+sudo: false
+
+env:
+ matrix:
+ - DIST=trusty
+ global:
+ # 20170821: as of writing there is no 'latest' (hashicorp/packer/issues/5265)
+ - 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