An ebook/comic library service and web client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
552 B

  1. stages:
  2. - test
  3. - pages
  4. Atheneum:Tests:
  5. image: python:3.6-slim-stretch
  6. stage: test
  7. script:
  8. - python3 -m pip install pipenv
  9. - cd server
  10. - pipenv install --dev --system
  11. - bash ./run_tests.sh
  12. tags:
  13. - docker
  14. Atheneum:Pages:
  15. image: python:3.6-slim-stretch
  16. stage: pages
  17. script:
  18. - apt --no-cache install make
  19. - python3 -m pip install pipenv
  20. - cd server
  21. - pipenv install --dev --system
  22. - cd documentation
  23. - make html
  24. - mv _build/html/ ../../public/
  25. artifacts:
  26. paths:
  27. - public
  28. tags:
  29. - docker