Skip to content

Commit efbcbf6

Browse files
vedangbbatsov
authored andcommitted
Add a step to upgrade cask
This is a (potential) fix for the tests failing against Emacs 25. I used this config file as a template to create the config file for vedang/pdf-tools@6ddfda8b and faced the same problem. The failure was in Cask not being able to install `cl-lib`, which seemed strange to me. I guessed that the emacs-25 image might not have been baked properly. Adding this step fixed the problem for my repository.
1 parent e4c4346 commit efbcbf6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ default: &default-steps
55
steps:
66
- checkout
77
- run: apt-get update && apt-get install make
8+
- run: cask upgrade-cask || true
89
- run: make elpa
910
- run: emacs --version
1011
- run: cask --version
@@ -16,12 +17,11 @@ default: &default-steps
1617

1718
# Enumerated list of Emacs versions
1819
jobs:
19-
# TODO: Figure out why the queue fails to install on Emacs 25
20-
# test-emacs-25:
21-
# docker:
22-
# - image: silex/emacs:25-ci-cask
23-
# entrypoint: bash
24-
# <<: *default-steps
20+
test-emacs-25:
21+
docker:
22+
- image: silex/emacs:25-ci-cask
23+
entrypoint: bash
24+
<<: *default-steps
2525

2626
test-emacs-26:
2727
docker:
@@ -45,7 +45,7 @@ workflows:
4545
version: 2
4646
ci-test-matrix:
4747
jobs:
48-
# - test-emacs-25
48+
- test-emacs-25
4949
- test-emacs-26
5050
- test-emacs-27
5151
- test-emacs-master

0 commit comments

Comments
 (0)