stages: - test - pages Atheneum:Tests: image: python:3.6-slim-stretch stage: test script: - python3 -m pip install pipenv - cd server - pipenv install --dev --system - bash ./run_tests.sh tags: - docker Atheneum:Pages: image: python:3.6-slim-stretch stage: pages script: - python3 -m pip install pipenv - pipenv install --dev - pipenv shell - cd server/documentation - apt --no-cache install make - make html - mv _build/html/ ../../public/ artifacts: paths: - public tags: - docker only: - master