summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-05-09 21:42:55 +0800
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-05-09 15:42:55 +0200
commitd98a86d2a2f9c12955316aff5723e03f14c0fe5d (patch)
treec952e06e5644120827a50ced163eb6ee5f1a60c0 /Makefile
parent377acb975785140aba35ec19fdae467e0e8cc129 (diff)
downloadgitea-d98a86d2a2f9c12955316aff5723e03f14c0fe5d.tar.gz
gitea-d98a86d2a2f9c12955316aff5723e03f14c0fe5d.zip
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test (#1693)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d078b87842..f2477f7c4c 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,8 @@ test-vendor:
govendor status || exit 1
.PHONY: test-sqlite
-test-sqlite: integrations.test
+test-sqlite:
+ go test -c code.gitea.io/gitea/integrations -tags 'sqlite'
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.test
.PHONY: test-mysql
@@ -108,7 +109,7 @@ test-pgsql: integrations.test
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test
integrations.test: $(SOURCES)
- go test -c code.gitea.io/gitea/integrations -tags 'sqlite'
+ go test -c code.gitea.io/gitea/integrations
.PHONY: check
check: test