43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
---
|
|
# Circle CI YAML file
|
|
version: 2.0
|
|
|
|
jobs:
|
|
"Validate PR":
|
|
docker:
|
|
- image: jare/spacemacs-circleci:latest
|
|
environment:
|
|
BASH_ENV: ".circleci/shared"
|
|
working_directory: ~/.emacs.d
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Make sure that this PR targets develop branch
|
|
command: ./.circleci/PR_base
|
|
- run:
|
|
name: Make sure that this PR doesn't need rebase
|
|
command: ./.circleci/PR_rebased
|
|
"Validate Documentation":
|
|
docker:
|
|
- image: jare/spacemacs-circleci:latest
|
|
environment:
|
|
BASH_ENV: ".circleci/shared"
|
|
working_directory: ~/.emacs.d
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
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:
|
|
- "Validate PR"
|
|
- "Validate Documentation"
|