From 1677cd25fa16a1a1d87a2af96e11c8a448b8f50a Mon Sep 17 00:00:00 2001 From: Elis Axelsson Date: Sat, 3 Jun 2017 19:31:35 +0200 Subject: [PATCH] Added stuff to Makefile to run integration tests It will run automaticly when it's a travis cron job and as well locally when you run: make integration --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 16712d9..2425745 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +TRAVIS_EVENT_TYPE ?= push EMACS ?= emacs CASK ?= cask @@ -14,6 +15,10 @@ test: unit: ${CASK} exec buttercup -L . tests/unit/ + @if [ "$(TRAVIS_EVENT_TYPE)" = "cron" ]; then \ + ${MAKE} integration; \ + fi + # Run all tests in tests/integration/ integration: ${CASK} exec buttercup -L . tests/integration/