aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: e9a08730e519c7e2809a48cef1cdd687e8826470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
image: debian:buster

stages:
  - test

before_script:
  - apt-get update -y
  - apt-get install -y curl fontforge python3-pip sassc virtualenv git

test_json:
  stage: test
  script:
    - virtualenv -p python3 venv
    - source venv/bin/activate
    - pip3 install json-spec
    - json validate --schema-file=lab/metadata.json --document-file=lab/metadata.json

test_build:
  stage: test
  script:
    - bash build.sh

test_css:
  stage: test
  script:
    - git submodule update --init
    - python3 test/w3c-validator.py dist/css/libresocial.css