build:
  image: latest

python:
  version: 3.6
  setup_py_install: true
  extra_requirements:
    - docs

build:
  image: latest

python:
  version: 3.6
  pip_install: true
  extra_requirements:
    - docs

Use pip_install in order to install extra requirements
Use pip_install in order to install extra requirements
