2017-08-13 00:57:13 +00:00
|
|
|
---
|
|
|
|
# Circle CI YAML file
|
2017-08-07 04:07:33 +00:00
|
|
|
version: 2.0
|
2017-08-31 18:42:19 +00:00
|
|
|
|
|
|
|
references:
|
|
|
|
steps_core_steps: &steps_core_steps
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: core tests installation
|
|
|
|
command:
|
|
|
|
./.circleci/test core installation
|
|
|
|
- run:
|
|
|
|
name: core unit tests
|
|
|
|
command:
|
|
|
|
./.circleci/test core unit_tests
|
|
|
|
- run:
|
|
|
|
name: core functional tests
|
|
|
|
command:
|
|
|
|
./.circleci/test core func_tests
|
|
|
|
spacemacs_base_steps: &spacemacs_base_steps
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: spacemacs-base distribution tests installation
|
|
|
|
command:
|
|
|
|
./.circleci/test layers/+distribution/spacemacs-base installation
|
|
|
|
- run:
|
|
|
|
name: spacemacs-base distribution unit tests
|
|
|
|
command:
|
|
|
|
./.circleci/test layers/+distribution/spacemacs-base unit_tests
|
|
|
|
- run:
|
|
|
|
name: spacemacs-base distribution functional tests
|
|
|
|
command:
|
|
|
|
./.circleci/test layers/+distribution/spacemacs-base func_tests
|
|
|
|
spacemacs_steps: &spacemacs_steps
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: spacemacs distribution tests installation
|
|
|
|
command:
|
|
|
|
./.circleci/test layers/+distribution/spacemacs installation
|
|
|
|
- run:
|
|
|
|
name: spacemac distribution unit tests
|
|
|
|
command:
|
|
|
|
./.circleci/test layers/+distribution/spacemacs unit_tests
|
|
|
|
- run:
|
|
|
|
name: spacemacs distribution functional tests
|
|
|
|
command:
|
|
|
|
./.circleci/test layers/+distribution/spacemacs func_tests
|
|
|
|
|
2017-08-07 04:07:33 +00:00
|
|
|
jobs:
|
2017-08-31 18:42:19 +00:00
|
|
|
# Emacs 24
|
|
|
|
"core Emacs24 (required)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs24
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *steps_core_steps
|
|
|
|
|
|
|
|
"spacemacs-base Emacs24 (required)":
|
2017-08-07 04:07:33 +00:00
|
|
|
docker:
|
2017-08-31 18:42:19 +00:00
|
|
|
- image: jare/spacemacs-circleci:emacs24
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *spacemacs_base_steps
|
|
|
|
|
|
|
|
"spacemacs Emacs24 (required)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs24
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *spacemacs_steps
|
|
|
|
|
|
|
|
# Emacs 25
|
|
|
|
"core Emacs25 (required)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs25
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *steps_core_steps
|
|
|
|
|
|
|
|
"spacemacs-base Emacs25 (required)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs25
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *spacemacs_base_steps
|
|
|
|
|
|
|
|
"spacemacs Emacs25 (required)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs25
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *spacemacs_steps
|
|
|
|
|
|
|
|
# Emacs 26
|
|
|
|
"core Emacs26 (required)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs26
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *steps_core_steps
|
|
|
|
|
|
|
|
"spacemacs-base Emacs26 (required)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs26
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *spacemacs_base_steps
|
|
|
|
|
|
|
|
"spacemacs Emacs26 (required)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs26
|
|
|
|
working_directory: ~/.emacs.d
|
|
|
|
<<: *spacemacs_steps
|
|
|
|
|
|
|
|
# Formatting
|
|
|
|
"Formatting (optional)":
|
|
|
|
docker:
|
|
|
|
- image: jare/spacemacs-circleci:emacs25
|
|
|
|
working_directory: ~/.emacs.d
|
2017-08-07 04:07:33 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
2017-08-31 18:42:19 +00:00
|
|
|
- run:
|
|
|
|
name: Check updated files formatting
|
|
|
|
command: ./.circleci/format
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build:
|
|
|
|
jobs:
|
|
|
|
- "core Emacs24 (required)"
|
|
|
|
# - "spacemacs-base Emacs24 (required)"
|
|
|
|
# - "spacemacs Emacs24 (required)"
|
|
|
|
- "core Emacs25 (required)"
|
|
|
|
# - "spacemacs-base Emacs25 (required)"
|
|
|
|
# - "spacemacs Emacs25 (required)"
|
|
|
|
- "core Emacs26 (required)"
|
|
|
|
# - "spacemacs-base Emacs26 (required)"
|
|
|
|
# - "spacemacs Emacs26 (required)"
|
|
|
|
- "Formatting (optional)"
|