image: python:3.6-alpine

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