diff options
author | Jesús <heckyel@hyperbola.info> | 2018-07-11 20:28:40 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-07-11 20:28:40 -0500 |
commit | ffcdc8df48627d939dc8e8ea8de95cf754816b5c (patch) | |
tree | 0f9740575641a2bcc17591e87675edefdef2211c | |
parent | a9d842825c146434800b2c306194028b524dd464 (diff) | |
download | libresocial-ffcdc8df48627d939dc8e8ea8de95cf754816b5c.tar.lz libresocial-ffcdc8df48627d939dc8e8ea8de95cf754816b5c.tar.xz libresocial-ffcdc8df48627d939dc8e8ea8de95cf754816b5c.zip |
support CI/CD
add .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 |