From 5a0bb7b4628c7b07952cd0ac2cf6f39a2fb6ad8f Mon Sep 17 00:00:00 2001
From: Simon Constans <kosssi@gmail.com>
Date: Tue, 22 Jul 2014 00:06:53 +0100
Subject: [PATCH] Add vagrant debian for testing

---
 README.md      | 7 +++++++
 tests/Makefile | 9 +++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 4901663..000b503 100755
--- a/README.md
+++ b/README.md
@@ -22,6 +22,13 @@ commands simply with `composer` instead of the full path.
       roles:
         - { role: kosssi.composer }
 
+## Vagrant
+
+If you have vagrant, you can test this role:
+
+    cd tests
+    vagrant up
+
 ## License
 
 MIT
diff --git a/tests/Makefile b/tests/Makefile
index 54da15c..78143be 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,9 +1,14 @@
 test_ubuntu-14.04:
-	VM_BOX='ubuntu/trusty64' vagrant up
+	VM_BOX='ubuntu/trusty64' vagrant up --provision
 	VM_BOX='ubuntu/trusty64' vagrant provision
 	VM_BOX='ubuntu/trusty64' vagrant destroy -f
 
 test_ubuntu-12.04:
-	VM_BOX='hashicorp/precise64' vagrant up
+	VM_BOX='hashicorp/precise64' vagrant up --provision
 	VM_BOX='hashicorp/precise64' vagrant provision
 	VM_BOX='hashicorp/precise64' vagrant destroy -f
+
+test_debian-7.5:
+	VM_BOX='puphpet/debian75-x64' vagrant up --provision
+	VM_BOX='puphpet/debian75-x64' vagrant provision
+	VM_BOX='puphpet/debian75-x64' vagrant destroy -f
-- 
GitLab