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

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

[nongnu] elpa/webpaste dc99105 260/298: Merge branch 'switch-to-nix-emac


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste dc99105 260/298: Merge branch 'switch-to-nix-emacs-ci'
Date: Thu, 9 Dec 2021 19:00:25 -0500 (EST)

branch: elpa/webpaste
commit dc99105793658ebd6046ce7d9048167ba80d865c
Merge: badf3b5 b713d5e
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>

    Merge branch 'switch-to-nix-emacs-ci'
---
 .travis.yml | 44 ++++++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 24 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 15cfbc2..35c5520 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,37 +1,33 @@
-language: emacs-lisp
-sudo: false
+language: nix
+os:
+  - linux
 
-# Allow Emacs snapshot builds to fail
+# Allow Emacs snapshot and integration builds to fail
 matrix:
   allow_failures:
-    - env: EVM_EMACS=emacs-git-snapshot-travis
-    - env: INTEGRATION=yes
+    - env: EMACS_CI=emacs-snapshot
+    - env: EMACS_CI=emacs-26-3 INTEGRATION=yes
 
 env:
-  - EVM_EMACS=emacs-24.4-travis
-  - EVM_EMACS=emacs-24.5-travis
-  - EVM_EMACS=emacs-25.1-travis
-  - EVM_EMACS=emacs-25.2-travis
-  - EVM_EMACS=emacs-25.3-travis
-  - EVM_EMACS=emacs-26.1-travis
-  - EVM_EMACS=emacs-git-snapshot-travis
-  - INTEGRATION=yes
-
-before_install:
-  # Get install script
-  - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > 
travis.sh && source ./travis.sh
-  # Fix cask (See 
https://github.com/cask/cask/issues/399#issuecomment-331640427)
-  - perl -ibak -lape 's{#!/usr/bin/env python}{#!/usr/bin/python}' "$(which 
cask)"
+  - EMACS_CI=emacs-26-1
+  - EMACS_CI=emacs-26-2
+  - EMACS_CI=emacs-26-3
+  - EMACS_CI=emacs-snapshot
+  - EMACS_CI=emacs-26-3 INTEGRATION=yes
 
 install:
-  # 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-26.1-travis --use --skip
-  - emacs --version
+  # Install nix-emacs-ci
+  - bash <(curl 
https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install)
+
+  # Install cask
+  - nix-env -iA nixpkgs.cask
 
   # Install your dependencies
   - cask install
 
 script:
-  # Run tests
-  - if test -n "$EVM_EMACS";   then make test;        fi
+  # Run the tests if we shouldn't trigger the integrations
+  - if test -z "$INTEGRATION"; then make test;        fi
+
+  # Otherwise we run the integration tests
   - if test -n "$INTEGRATION"; then make integration; fi



reply via email to

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