[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste 6114da7 208/298: Refactor how integration tests a
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste 6114da7 208/298: Refactor how integration tests are triggered |
Date: |
Thu, 9 Dec 2021 19:00:15 -0500 (EST) |
branch: elpa/webpaste
commit 6114da7389f4f0c36888f9b32fdc3ebdcc8811e5
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>
Refactor how integration tests are triggered
---
.travis.yml | 10 ++++++----
Makefile | 5 -----
2 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index dda37dc..02a7429 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,7 @@ sudo: false
matrix:
allow_failures:
- env: EVM_EMACS=emacs-git-snapshot-travis
+ - env: INTEGRATION=yes
env:
- EVM_EMACS=emacs-24.3-travis
@@ -14,6 +15,7 @@ env:
- EVM_EMACS=emacs-25.2-travis
- EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-git-snapshot-travis
+ - INTEGRATION=yes
before_install:
# Get install script
@@ -23,16 +25,16 @@ before_install:
- evm install emacs-24.4-travis --use --skip
install:
- # Install the emacs version that we're testing today
- - evm install $EVM_EMACS --use --skip
+ # If we're running unit-tests, install the emacs version that we're testing
today. Otherwise go with 25.3 for integration tests
+ - test -n "$EVM_EMACS" && evm install $EVM_EMACS --use --skip || evm install
emacs-25.3-travis --use --skip
# Install your dependencies
- EMACS="/home/travis/.evm/bin/emacs" cask install
script:
# Print travis event type (might be cron or something else)
- - echo $TRAVIS_EVENT_TYPE
- emacs --version
# Run tests
- - env CASK='EMACS=/home/travis/.evm/bin/emacs cask' make test
+ - test -n "$EVM_EMACS" && env CASK='EMACS=/home/travis/.evm/bin/emacs
cask' make test || true
+ - test -n "$INTEGRATION" && env CASK='EMACS=/home/travis/.evm/bin/emacs
cask' make integration || true
diff --git a/Makefile b/Makefile
index 2425745..16712d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,3 @@
-TRAVIS_EVENT_TYPE ?= push
EMACS ?= emacs
CASK ?= cask
@@ -15,10 +14,6 @@ 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/
- [nongnu] elpa/webpaste 7a30602 274/298: Bump version number in file, (continued)
- [nongnu] elpa/webpaste 7a30602 274/298: Bump version number in file, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 84b5c80 279/298: readme: Add readme entry for max retries, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 533bb40 290/298: Apply suggestions from code review, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste dacb4fb 289/298: Add support for bpa.st pastebin, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9ffa782 286/298: readme: Useful links in badges, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste a60d262 285/298: readme: Add status badges, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 65f664d 298/298: elpaignore: Add .elpaignore to ignore files in elpa builds, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 76d740e 283/298: travis: Drop travis, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 935eb5f 195/298: Remove :tangle yes from README, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 5c63d75 196/298: Added unit test for running hooks on return, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6114da7 208/298: Refactor how integration tests are triggered,
ELPA Syncer <=
- [nongnu] elpa/webpaste 9d026d6 212/298: Remove emacs-24.3 from build target, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste cf2ea41 218/298: Update heading levels and add a TOC, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 7c3bc88 215/298: Remove unused local variable, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9972cf4 224/298: Fix some checkdock warnings, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b1cdedb 213/298: Simplify travis file, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste bd38635 253/298: [readme] Add two new suggestions for providers, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 01c2858 261/298: Fix typos, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste e7fed98 246/298: Reindent entire webpaste.el to match updated indentation style, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9d3c866 233/298: WP-25: Implement support for raw pastes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste ef33b0f 269/298: Fix provider definition issue and add test for paste.mozilla.org, ELPA Syncer, 2021/12/09