.gitlab-ci.yml 550 B

12345678910111213141516171819202122232425262728
  1. image: debian:buster
  2. stages:
  3. - test
  4. before_script:
  5. - apt-get update -y
  6. - apt-get install -y curl fontforge python3-pip sassc virtualenv git
  7. test_json:
  8. stage: test
  9. script:
  10. - virtualenv -p python3 venv
  11. - source venv/bin/activate
  12. - pip3 install json-spec
  13. - json validate --schema-file=lab/metadata.json --document-file=lab/metadata.json
  14. test_build:
  15. stage: test
  16. script:
  17. - bash build.sh
  18. test_css:
  19. stage: test
  20. script:
  21. - git submodule update --init
  22. - python3 test/w3c-validator.py dist/css/libresocial.css