Added Vagrantfile for PostgreSQL integration tests

This commit is contained in:
Joona Hoikkala
2016-11-17 18:22:20 +02:00
parent 38ff024ad4
commit 9a45664b4b
3 changed files with 45 additions and 0 deletions

7
test/run_integration.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
source /home/vagrant/.profile
rm -rf /home/vagrant/src/acme-dns/*
cp -R /vagrant/* /home/vagrant/src/acme-dns/
cd /home/vagrant/src/acme-dns/
go get
go test -postgres