From b8f300fef0b0231f074ba91f65c4341727f99cd1 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Sat, 21 Oct 2017 22:56:51 +0200 Subject: [PATCH] Add pattern for buttercup to not run gists.github.com on travis We just get 403 Forbidden back from gists anyways when running on travis. That makes it not worth it. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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