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/