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.

33 lines
574 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. - python3 -m pip install pipenv
  19. - pipenv install --dev
  20. - pipenv shell
  21. - cd server/documentation
  22. - apt --no-cache install make
  23. - make html
  24. - mv _build/html/ ../../public/
  25. artifacts:
  26. paths:
  27. - public
  28. tags:
  29. - docker
  30. only:
  31. - master