diff --git a/Makefile b/Makefile index 16712d9..b3a0bc3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ +TRAVIS ?= false EMACS ?= emacs CASK ?= cask +ifeq ($(TRAVIS),true) + PATTERN=--pattern 'can paste with \([^g]\|g[^i]\|gi[^s]\)' +endif + all: test test: @@ -16,7 +21,7 @@ unit: # Run all tests in tests/integration/ integration: - ${CASK} exec buttercup -L . tests/integration/ + ${CASK} exec buttercup -L . tests/integration/ ${PATTERN} build: ${CASK} build