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

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

[nongnu] elpa/swift-mode 230afd3 175/496: Setup travis matrix with emacs


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 230afd3 175/496: Setup travis matrix with emacs 24.3 and 24.4.
Date: Sun, 29 Aug 2021 11:33:31 -0400 (EDT)

branch: elpa/swift-mode
commit 230afd3551f51fcc1f9115415045a9cc7d4aa6ed
Author: ap4y <lod@pisem.net>
Commit: ap4y <lod@pisem.net>

    Setup travis matrix with emacs 24.3 and 24.4.
    
    Also use evm for emacs installation. Stable emacs 24.4 is not available
    in debian packages, so evm's binary based installation is probably the
    best way of installing emacs on CI server at the moment.
---
 .travis.yml | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index db7beeb..a066c7c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,21 @@
 language: emacs-lisp
+
 env:
-  - EMACS=emacs24         PATH="$HOME/.cask/bin:$PATH"
+  - EVM_EMACS=emacs-24.3-bin
+  - EVM_EMACS=emacs-24.4-bin
 
-install:
-  - sudo add-apt-repository -y ppa:cassou/emacs
-  - sudo apt-get update -qq
-  - sudo apt-get install -qq emacs24 emacs24-el
-  - sudo apt-get install texinfo
-  - curl -fsSkL https://raw.github.com/cask/cask/master/go | python
+before_install:
+  - sudo mkdir /usr/local/evm
+  - sudo chown travis:travis /usr/local/evm
+  - curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
+  - export PATH="/home/travis/.evm/bin:$PATH"
+  - evm install $EVM_EMACS --skip --use
+  - curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
+  - export PATH="/home/travis/.cask/bin:$PATH"
+  - cask info
+  - cask install
+  - emacs --version
+  - cask --version
 
 script:
   - make



reply via email to

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