diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..76a7aeb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +image: node:6.1.0 + +stages: + - test + +before_script: + - apt-get update -y + - apt-get install -y python3-pip nodejs + - pip3 install json-spec + - npm install -g csslint + +test_json: + stage: test + script: + - cd lab/ + - json validate --schema-file=metadata.json --document-file=metadata.json + +test_css: + stage: test + script: + - cd css/ + - csslint libresocial.css |