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

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

[nongnu] elpa/d-mode eb92e64 127/346: .travis.yml: Switch to emacs-travi


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode eb92e64 127/346: .travis.yml: Switch to emacs-travis.mk
Date: Sun, 29 Aug 2021 11:00:16 -0400 (EDT)

branch: elpa/d-mode
commit eb92e64f816ddcb678b7e5c3d89bf0ca90a5c29f
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>

    .travis.yml: Switch to emacs-travis.mk
---
 .travis.yml | 43 +++++++++++++++++++++++--------------------
 1 file changed, 23 insertions(+), 20 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 1bfae87..ec981e3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,27 +1,30 @@
-language: emacs-lisp
+# Based on https://github.com/flycheck/emacs-travis
 
+language: emacs-lisp
+sudo: false
+# Allow Emacs snapshot builds to fail and don’t wait for these as they can take
+# a looooong time
+matrix:
+  fast_finish: true
+  allow_failures:
+    - env: EMACS_VERSION=snapshot
+env:
+  - EMACS_VERSION=24.3
+  - EMACS_VERSION=24.5
+  - EMACS_VERSION=25.1
+  - EMACS_VERSION=snapshot
 before_install:
-  # PPA for stable Emacs packages
-  - sudo add-apt-repository -y ppa:adrozdoff/emacs
-  # PPA for Emacs nightlies
-  - sudo add-apt-repository -y ppa:ubuntu-elisp/ppa
-
+  # Configure $PATH: Executables are installed to $HOME/bin
+  - export PATH="$HOME/bin:$PATH"
+  # Download the makefile to emacs-travis.mk
+  - wget 
'https://raw.githubusercontent.com/flycheck/emacs-travis/master/emacs-travis.mk'
+  # Install Emacs (according to $EMACS_VERSION) and Cask
+  - make -f emacs-travis.mk install_emacs
+  - make -f emacs-travis.mk install_cask
 install:
-  # Update and install the Emacs for our environment
-  - sudo apt-get update -qq
-  - sudo apt-get install -qq -yy ${EMACS}-nox ${EMACS}-el
-  # Install cask dependencies
-  - curl -fsSLo /tmp/cask-master.zip 
https://github.com/cask/cask/archive/master.zip
-  - sudo unzip -qq -d /opt /tmp/cask-master.zip
-  - sudo ln -sf /opt/cask-master/bin/cask /usr/local/bin/cask
-  - cask
-
-env:
-  - EMACS=emacs24
-  - EMACS=emacs25
-  - EMACS=emacs-snapshot
-
+  - cask install
 script:
+  # cask exec ert-runner
   - emacs --version
   - make compile
   - make test



reply via email to

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