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

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

[nongnu] elpa/webpaste 1677cd2 171/298: Added stuff to Makefile to run i


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste 1677cd2 171/298: Added stuff to Makefile to run integration tests
Date: Thu, 9 Dec 2021 19:00:08 -0500 (EST)

branch: elpa/webpaste
commit 1677cd25fa16a1a1d87a2af96e11c8a448b8f50a
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>

    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/



reply via email to

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