From ed8edf3e4ca5e5f34ace2e0e525bca91e72c57ba Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 25 Jan 2019 12:08:07 +0530 Subject: [PATCH] Install sphinx on CircleCI --- .circleci/config.yml | 6 +++--- .circleci/images/Dockerfile | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dbd98710d..59f0502c2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,9 +1,9 @@ -version: 2.0 +version: 2 jobs: - build: + linux-system-python: docker: - image: kovidgoyal/kitty-test:latest steps: - checkout - - run: echo "A first hello" - run: if grep -Inr '\s$' kitty kitty_tests kittens docs *.py *.asciidoc *.rst .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi + - run: flake8 --count . diff --git a/.circleci/images/Dockerfile b/.circleci/images/Dockerfile index 631034ced..22e4606f4 100644 --- a/.circleci/images/Dockerfile +++ b/.circleci/images/Dockerfile @@ -2,5 +2,7 @@ FROM ubuntu:latest RUN apt-get update && apt-get install -y libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev python3 python3-flake8 python3-pip +RUN pip3 install sphinx + LABEL com.circleci.preserve-entrypoint=true ENTRYPOINT sleep 2h