From 45392fc39b025bdc2598e996100100c23895d301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 23 Feb 2021 15:28:35 -0500 Subject: [.gitlab-ci.yml]: remove dependencie nodejs --- .gitlab-ci.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76a7aeb..e9a0873 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,22 +1,27 @@ -image: node:6.1.0 +image: debian:buster stages: - test before_script: - apt-get update -y - - apt-get install -y python3-pip nodejs - - pip3 install json-spec - - npm install -g csslint + - apt-get install -y curl fontforge python3-pip sassc virtualenv git test_json: stage: test script: - - cd lab/ - - json validate --schema-file=metadata.json --document-file=metadata.json + - 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: - - cd css/ - - csslint libresocial.css + - git submodule update --init + - python3 test/w3c-validator.py dist/css/libresocial.css -- cgit v1.2.3