spacemacs/.circleci/config.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

---
# Circle CI YAML file
2017-08-07 04:07:33 +00:00
version: 2.0
2017-08-07 04:07:33 +00:00
jobs:
2017-09-24 17:45:00 +00:00
"Validate PR":
docker:
- image: jare/spacemacs-circleci:latest
2020-06-21 22:48:40 +00:00
environment:
BASH_ENV: ".circleci/shared"
2017-09-24 17:45:00 +00:00
working_directory: ~/.emacs.d
steps:
- checkout
- run:
2018-08-22 12:25:45 +00:00
name: Make sure that this PR targets develop branch
2017-09-24 17:45:00 +00:00
command: ./.circleci/PR_base
2018-08-22 12:25:45 +00:00
- run:
name: Make sure that this PR doesn't need rebase
command: ./.circleci/PR_rebased
2020-09-06 12:11:59 +00:00
"Validate Documentation":
docker:
2018-05-20 11:54:20 +00:00
- image: jare/spacemacs-circleci:latest
2020-06-21 22:48:40 +00:00
environment:
BASH_ENV: ".circleci/shared"
working_directory: ~/.emacs.d
2017-08-07 04:07:33 +00:00
steps:
- checkout
- run:
2019-04-03 04:23:55 +00:00
name: Select changed files
command: ./.circleci/select
- run:
name: export changed documentation files for validation
command: ./.circleci/validoc/export
- run:
name: validating changed documentation files
command: ./.circleci/validoc/validate
workflows:
version: 2
build:
jobs:
2017-09-24 17:45:00 +00:00
- "Validate PR"
2020-09-06 12:11:59 +00:00
- "Validate Documentation"