image: python:3.6-alpine

pages:
  script:
  - apk add --no-cache python3-pkgconfig
  - pip install sphinx, pytest
  - pip install -r requirements.txt
  - cd docs && make html
  - mv build/html/ public/
  artifacts:
    paths:
    - public
  only:
  - master