From 6adffbb5b1d76006201c4bac307478dcab45a37d Mon Sep 17 00:00:00 2001 From: Craig Astill Date: Tue, 27 Jul 2021 16:48:14 +0100 Subject: [PATCH 1/3] Update Emacs versions to latest listed. Got latest versions from: https://github.com/rejeep/evm/tree/master/recipes --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9b8fa54..5f55c30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,10 @@ language: emacs-lisp sudo: no env: - # - EVM_EMACS=emacs-24.1-travis - # - EVM_EMACS=emacs-24.2-travis - - EVM_EMACS=emacs-24.3-travis - - EVM_EMACS=emacs-24.4-travis - EVM_EMACS=emacs-24.5-travis + - EVM_EMACS=emacs-25.3-travis + - EVM_EMACS=emacs-26.3-travis-linux-xenial + - EVM_EMACS=emacs-27.1-travis-linux-xenial before_install: - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh - evm install $EVM_EMACS --use --skip From f9ac84751ae8faf1abcb0ac0487303b0511b29e1 Mon Sep 17 00:00:00 2001 From: Craig Astill Date: Tue, 27 Jul 2021 17:03:00 +0100 Subject: [PATCH 2/3] Update travis with python/cask deprecation. Travis is failing: https://travis-ci.org/github/jorgenschaefer/pyvenv/jobs/772569402, so trying to work around the deprecation: ``` ... Done (Total of 2 files compiled, 1 skipped) Package `s-1.12.0' deleted. Wrote /home/travis/.emacs.d/.cask/24.3/bootstrap/s-20180406.808/s.el File exists: /home/travis/.emacs.d/.cask/24.3/bootstrap/s-20180406.808/s-pkg.el !!! !!! DEPRECATION NOTICE !!! !!! !!! The cask `go` script will be removed on 2021/06/01. !!! !!! This is due to security concerns about the way python is !!! invoked from curl, and to remove the python dependency from cask. !!! !!! The way to install cask without depending on the `go` script !!! is very simple. Just clone Cask and pass the PATH. !!! !!! git clone https://github.com/cask/cask ~/.cask !!! PATH=$HOME/.cask/bin:$PATH !!! !!! # If you want to make it permanent !!! echo 'PATH=$HOME/.cask/bin:$PATH' >> .bashrc !!! Cask could not be bootstrapped. Try again later, or report an issue at https://github.com/cask/cask/issues The command "curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh" failed and exited with 1 during . Your build has been stopped. ``` --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5f55c30..e1641ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,10 @@ env: - EVM_EMACS=emacs-26.3-travis-linux-xenial - EVM_EMACS=emacs-27.1-travis-linux-xenial before_install: - - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh + - git clone https://github.com/cask/cask ~/.cask + - export PATH=$HOME/.cask/bin:$HOME/.evm/bin:$PATH + - git clone https://github.com/rejeep/evm.git /home/travis/.evm + - evm config path /tmp - evm install $EVM_EMACS --use --skip - cask script: From d2d92b859e84f6678f587fa3541faa102762d204 Mon Sep 17 00:00:00 2001 From: Craig Astill Date: Tue, 27 Jul 2021 17:45:35 +0100 Subject: [PATCH 3/3] Drop Emacs 24 support in Travis. There's a workaround: https://emacs.stackexchange.com/questions/34296/package-emacs-25-is-unavail, but this looks like there is a downstream dependency that has moved to `25.1`. Travis output: ``` ... (No changes need to be saved) Checking /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3... Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up-autoloads.el... Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up-pkg.el... Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up-pkg.elc Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up.el... In end of data: shut-up.el:152:1:Warning: the following functions are not known to be defined: shut-up-write-region-original, shut-up-load-original Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/shut-up-0.3.3/shut-up.elc Done (Total of 2 files compiled, 1 skipped) Generating autoloads for cl-generic.el... Generating autoloads for cl-generic.el...done Saving file /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-autoloads.el... Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-autoloads.el (No changes need to be saved) Checking /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3... Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-autoloads.el... Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-pkg.el... Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic-pkg.elc Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic.el... Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/cl-generic-0.3/cl-generic.elc Done (Total of 2 files compiled, 1 skipped) Generating autoloads for ansi.el... Generating autoloads for ansi.el...done Saving file /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-autoloads.el... Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-autoloads.el Checking /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1... Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-autoloads.el... Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-pkg.el... Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi-pkg.elc Compiling /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi.el... Wrote /home/travis/.emacs.d/.cask/24.5/bootstrap/ansi-0.4.1/ansi.elc Done (Total of 2 files compiled, 1 skipped) Loading package information... done Package operations: 10 installs, 0 removals - Installing [ 1/10] mocker (latest)... downloadingMissing dependency: "Package `emacs-25.1' is unavailable", "" The command "cask" failed and exited with 255 during . Your build has been stopped. ``` --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e1641ab..ad79a63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: emacs-lisp sudo: no env: - - EVM_EMACS=emacs-24.5-travis - EVM_EMACS=emacs-25.3-travis - EVM_EMACS=emacs-26.3-travis-linux-xenial - EVM_EMACS=emacs-27.1-travis-linux-xenial