From 6b69913d82cd27247a8b7c5571c8a7173e438dcb Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 11 Nov 2015 14:52:29 -0800 Subject: [PATCH] fix database unit tests in Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4719358c..26cf42bc 100644 --- a/Makefile +++ b/Makefile @@ -44,11 +44,11 @@ test: # docker run --publish=3306:3306 -e MYSQL_DATABASE=test -e MYSQL_ALLOW_EMPTY_PASSWORD=yes mysql:5.6.27 test_mysql: - DATABASE_DRIVER="mysql" DATABASE_CONFIG="root@tcp(127.0.0.1:3306)/test?parseTime=true" go test github.com/drone/drone/model + DATABASE_DRIVER="mysql" DATABASE_CONFIG="root@tcp(127.0.0.1:3306)/test?parseTime=true" go test github.com/drone/drone/store/datastore # docker run --publish=5432:5432 postgres:9.4.5 test_postgres: - DATABASE_DRIVER="postgres" DATABASE_CONFIG="host=127.0.0.1 user=postgres dbname=postgres sslmode=disable" go test github.com/drone/drone/model + DATABASE_DRIVER="postgres" DATABASE_CONFIG="host=127.0.0.1 user=postgres dbname=postgres sslmode=disable" go test github.com/drone/drone/store/datastore deb: mkdir -p contrib/debian/drone/usr/local/bin