Commit a906969d authored by canterburym's avatar canterburym
Browse files

Updating cicd

parent 00ac0eb8
Loading
Loading
Loading
Loading
Loading
+26 −10
Original line number Diff line number Diff line
@@ -2,23 +2,39 @@ image: "python:3.7"

before_script:
  - python3 --version
  - pip3 install -q asn1tools lxml xmlschema

stages:
  - Check Schemas
  - Syntax
  - Lint
  - Compile

checkASN1:
  stage: Check Schemas
parseASN1:
  before_script:
    - pip3 install -q asn1tools
  stage: Syntax
  script:
  - python3 testing/check_asn1.py
  - python3 testing/parse_asn1.py

checkXSD:
  before_script:
    - pip3 install -q lxml xmlschema
  stage: Syntax
  script:
  - python3 testing/check_xsd.py

lintASN1:
  stage: Check Schemas
  before_script:
    - pip3 install -q asn1tools
  stage: Lint
  script:
  - python3 testing/lint_asn1.py
  allow_failure: true

checkXSD:
    stage: Check Schemas
compileASN1:
  before_script:
    - pip3 install -q asn1tools
  stage: Compile
  script:
    - python3 testing/check_xsd.py
 No newline at end of file
  - python3 testing/lint_asn1.py
  allow_failure: true