aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-02-23 15:28:35 -0500
committerJesús <heckyel@hyperbola.info>2021-02-23 15:28:35 -0500
commit45392fc39b025bdc2598e996100100c23895d301 (patch)
treee8067c5be1ba28ea406642f43cc9adf363b9020f
parent08841937a8e41392051b3a12f22793afb523ce5a (diff)
downloadlibresocial-master.tar.lz
libresocial-master.tar.xz
libresocial-master.zip
[.gitlab-ci.yml]: remove dependencie nodejsHEADmaster
-rw-r--r--.gitlab-ci.yml21
1 files 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