This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/.circleci/config.yml
2020-09-06 16:04:23 +03:00

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"