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.

43 lines
776 B

  1. stages:
  2. - test
  3. - deploy
  4. server-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. administration-client-tests:
  15. image: node:8.11-stretch
  16. stage: test
  17. script:
  18. - cd administration_client
  19. - ./create_config_files.sh
  20. - yarn install
  21. - yarn run test:unit
  22. tags:
  23. - docker
  24. pages:
  25. image: python:3.6-slim-stretch
  26. stage: deploy
  27. script:
  28. - python3 -m pip install pipenv
  29. - cd server
  30. - pipenv install --dev --system
  31. - cd documentation
  32. - sphinx-build -M html "." "_build"
  33. - mv _build/html/ ../../public/
  34. artifacts:
  35. paths:
  36. - public
  37. tags:
  38. - docker
  39. only:
  40. - master