emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/webpaste b8f300f 209/298: Add pattern for buttercup to not


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste b8f300f 209/298: Add pattern for buttercup to not run gists.github.com on travis
Date: Thu, 9 Dec 2021 19:00:15 -0500 (EST)

branch: elpa/webpaste
commit b8f300fef0b0231f074ba91f65c4341727f99cd1
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]