Skip to content

Commit 6d8e5a6

Browse files
authored
Merge pull request #514 from danielcompton/use-circle-ci
Initial attempt to run on CircleCI
2 parents 7943b29 + 31148c4 commit 6d8e5a6

File tree

3 files changed

+45
-25
lines changed

3 files changed

+45
-25
lines changed

.circleci/config.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
version: 2.1
2+
3+
# Default actions to perform on each Emacs version
4+
default: &default-steps
5+
steps:
6+
- checkout
7+
- run: apt-get update && apt-get install make
8+
- run: make elpa
9+
- run: emacs --version
10+
- run: make test
11+
# Make sure to run test-checks before test-bytecomp, as test-bytecomp autogenerates
12+
# files which won't pass test-checks.
13+
- run: make test-checks
14+
- run: make test-bytecomp
15+
16+
# Enumerated list of Emacs versions
17+
jobs:
18+
test-emacs-25:
19+
docker:
20+
- image: silex/emacs:25-dev
21+
entrypoint: bash
22+
<<: *default-steps
23+
24+
test-emacs-26:
25+
docker:
26+
- image: silex/emacs:26-dev
27+
entrypoint: bash
28+
<<: *default-steps
29+
30+
test-emacs-master:
31+
docker:
32+
- image: silex/emacs:master-dev
33+
entrypoint: bash
34+
<<: *default-steps
35+
36+
workflows:
37+
version: 2
38+
ci-test-matrix:
39+
jobs:
40+
- test-emacs-25
41+
- test-emacs-26
42+
- test-emacs-master

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![License GPL 3][badge-license]][copying]
22
[![MELPA][melpa-badge]][melpa-package]
33
[![MELPA Stable][melpa-stable-badge]][melpa-stable-package]
4-
[![travis][badge-travis]][travis]
4+
[![circleci][badge-circleci]][circleci]
55

66
# Clojure Mode
77

@@ -438,8 +438,8 @@ Distributed under the GNU General Public License; type <kbd>C-h C-c</kbd> to vie
438438
[melpa-package]: http://melpa.org/#/clojure-mode
439439
[melpa-stable-package]: http://stable.melpa.org/#/clojure-mode
440440
[COPYING]: http://www.gnu.org/copyleft/gpl.html
441-
[badge-travis]: https://travis-ci.org/clojure-emacs/clojure-mode.svg?branch=master
442-
[travis]: https://travis-ci.org/clojure-emacs/clojure-mode
441+
[badge-circleci]: https://circleci.com/gh/clojure-emacs/clojure-mode.svg?style=svg
442+
[circleci]: https://circleci.com/gh/clojure-emacs/clojure-mode
443443
[CIDER]: https://github.com/clojure-emacs/cider
444444
[cider-nrepl]: https://github.com/clojure-emacs/cider-nrepl
445445
[inf-clojure]: https://github.com/clojure-emacs/inf-clojure

0 commit comments

Comments
 (0)