X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/99991a3729120a1e2e8a3cb88abb75268c2e6245..62189f57e66400fcd1135bfaf6ca2eeb2d233e15:/.circleci/config.yml?ds=inline diff --git a/.circleci/config.yml b/.circleci/config.yml index bc0bd36..8d54439 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,27 +1,33 @@ version: 2 +common: &common + working_directory: ~/repo + docker: + - image: blueyed/vim-python-pep8-indent-vims-for-test:3@sha256:e7e3c4f4b021954a40f2f1d88dc470f119dc65603c63724d1c58cbe437fdc2d4 + jobs: test: - docker: - - image: blueyed/vim-python-pep8-indent-vims-for-test:1@sha256:8c77867e1fdf673a6df0ecf6628f8e4d80579a0a097ec196109ca0bc145d86c0 + <<: *common steps: - checkout - run: name: Run tests command: | - Xvfb :99 & - DISPLAY=:99 VIMRUNNER_REUSE_SERVER=1 rspec spec + spec/make-coverage + - run: + name: Report coverage + command: | + covimerage xml + codecov -X search gcov pycov -f coverage.xml checkqa: - docker: - - image: circleci/python:3.7 + <<: *common steps: - checkout - run: name: Lint command: | - pip install --user vim-vint - ~/.local/bin/vint **/*.vim + vint **/*.vim workflows: version: 2