[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud 00902c3 03/72: Try using cask
From: |
Stefan Monnier |
Subject: |
[elpa] externals/realgud 00902c3 03/72: Try using cask |
Date: |
Fri, 26 Mar 2021 22:49:03 -0400 (EDT) |
branch: externals/realgud
commit 00902c3705c80038ebead508237be10ba8e8c63b
Author: rocky <rocky@gnu.org>
Commit: rocky <rocky@gnu.org>
Try using cask
---
.travis.yml | 13 +++++--------
realgud/common/file.el | 2 +-
run-travis-ci.sh | 21 +++++++++++++++++++++
travis.sh | 24 ++++++++++++++++++++++++
4 files changed, 51 insertions(+), 9 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 0515aa0..18e25c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,13 @@
language: emacs-lisp
+sudo: no
env:
- - EMACS=emacs24
+ - EVM_EMACS=emacs-26.1-travis
+# Install EVM, version EVM_EMACS
install:
- - if [ "$EMACS" = 'emacs24' ]; then
- sudo add-apt-repository -y ppa:cassou/emacs &&
- sudo apt-get -qq update &&
- sudo apt-get -qq -f install &&
- sudo apt-get -qq install emacs24 emacs24-el;
- fi
+ - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw >
travis.sh && source ./travis.sh
# run the tests
script:
- - NO_CHECK_EMACS_PACKAGES=1 /bin/bash ./autogen.sh && cd test && make
check-elget
+ - ./run-travis-ci.sh
diff --git a/realgud/common/file.el b/realgud/common/file.el
index ffaeb91..a542e89 100644
--- a/realgud/common/file.el
+++ b/realgud/common/file.el
@@ -30,7 +30,7 @@
(declare-function realgud-cmdbuf-filename-remap-alist=
'realgud-buffer-command)
(declare-function realgud-cmdbuf-mutex
'realgud-buffer-command)
-(defcustom realgud-file-find-function 'realgud:find-file
+(defcustom realgud-file-find-function 'compilation-find-file
;;(defcustom realgud-file-find-function 'compilation-find-file
"Function to call when we can't easily find file"
:type 'function
diff --git a/run-travis-ci.sh b/run-travis-ci.sh
new file mode 100755
index 0000000..12411bc
--- /dev/null
+++ b/run-travis-ci.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+cd "$(dirname "$0")"
+
+set_default () {
+ eval "
+if [ -z \$$1 ]; then
+ $1=$2
+fi
+"
+}
+
+set_default EMACS "$(which emacs)"
+
+echo "*** Emacs version ***"
+echo "EMACS =" $(which $EMACS)
+$EMACS --version
+echo
+
+cask
+NO_CHECK_EMACS_PACKAGES=1 /bin/bash ./autogen.sh && cd test && make check-elget
diff --git a/travis.sh b/travis.sh
new file mode 100644
index 0000000..b1570c2
--- /dev/null
+++ b/travis.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# This script will setup Evm (Emacs Version Manager) and Cask on
+# Travis to use for Emacs Lisp testing.
+#
+# In .travis.yml, add this:
+#
+# - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw >
x.sh && source ./x.sh
+#
+# Emacs 24.3 is installed in the above script because Cask requires
+# Emacs 24 to be installed. Because of this, when installing other
+# environments in the .travis.yml configuration, use the --skip
+# option, for example:
+#
+# - evm install $EVM_EMACS --use --skip
+
+export PATH="/home/travis/.evm/bin:$PATH"
+export PATH="/home/travis/.cask/bin:$PATH"
+
+git clone https://github.com/rejeep/evm.git /home/travis/.evm
+evm config path /tmp
+evm install emacs-24.3-travis --use --skip
+
+curl -fsSkL https://raw.github.com/cask/cask/master/go | python
- [elpa] externals/realgud 2de137a 05/72: Travis 3rd try, (continued)
- [elpa] externals/realgud 2de137a 05/72: Travis 3rd try, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 267f3dc 13/72: Try adding back more test for Travis, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 239f49c 34/72: realgud-track-{truncate, clear}-buffer ..., Stefan Monnier, 2021/03/26
- [elpa] externals/realgud b7d1f81 04/72: Travis 2nd try, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 01b4213 07/72: Travis 5th try, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 94145d7 19/72: Travis has changed - attempted fix #1, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud ccf0cab 23/72: Travis has changed - attempted fix #5, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 4d276fd 29/72: unifiy ansi escape handling, add test, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 639db29 46/72: Add locals window, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 81b3d3d 06/72: Travis 4th try, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 00902c3 03/72: Try using cask,
Stefan Monnier <=
- [elpa] externals/realgud ea6774e 10/72: Travis 7th try, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud b4a25f8 15/72: Test using more emacs versions, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 3a3a94e 21/72: Travis has changed - attempted fix #3, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud cf1c7c4 18/72: Improve instruction for building from source, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 703cd5d 27/72: Travis has changed - attempted fix #9, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud b854e04 32/72: Create FUNDING.yml, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 20d8119 33/72: realgud-clear-bufferr & realgud-truncate-buffer.., Stefan Monnier, 2021/03/26
- [elpa] externals/realgud d2be4cf 45/72: http:// -> https://, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud 52fac1f 48/72: add realgud:window-locals-undisturb-src, Stefan Monnier, 2021/03/26
- [elpa] externals/realgud f0a3676 44/72: Add "Signals" menu in comint debugger shells, Stefan Monnier, 2021/03/26