Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.78 KiB
Newer Older
# Includes a common template
include:
 - project: 'spc/tcv/tbx/git-tools-spc'
   file: 'gitlab-ci-tbx-template.yml'

variables:
  TBXFOLDER: matlab
  MATFIRST: 902
  MATVER: 906
# no build for gdat, so don't define jobs for build phase
Federico Felici's avatar
Federico Felici committed
TCV-960:
  extends: .test-template
  tags:
  - lac8-gituser
  variables:
    MATLABCMD: matlab960
    TESTCASE: tcv
  artifacts:
   paths:
    - test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
   reports:
    junit: test_${TBXTARGET}_${TESTCASE}_2019a.xml
    cobertura: test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
Federico Felici's avatar
Federico Felici committed
IMAS-960:
  extends: .test-template
  tags:
  - lac8-gituser
  variables:
    MATLABCMD: matlab960
    TESTCASE: imas
  artifacts:
   paths:
    - test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
   reports:
    junit: test_${TBXTARGET}_${TESTCASE}_2019a.xml
    cobertura: test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
Federico Felici's avatar
Federico Felici committed
TCV-920:
  extends: .test-template
  variables:
    MATLABCMD: matlab920
Federico Felici's avatar
Federico Felici committed
IMAS-920:
  extends: .test-template
  variables:
    MATLABCMD: matlab920
    TESTCASE: imas
Federico Felici's avatar
Federico Felici committed
# Post test report collection
code-coverage-960:
 extends: .code-coverage-960-template
Federico Felici's avatar
Federico Felici committed

# Staging, testing and deployment for releases
pre-deployment-staging:
 extends: .staging-template

# Staging tests
#test-staging-980:
# extends: .test-staging-template
# variables:
#  MATLABCMD: matlab980
 extends: .test-staging-template
 variables:
  MATLABCMD: matlab960

test-staging-920:
 extends: .test-staging-template
 variables:
  MATLABCMD: matlab920
# pre-deployment
pre-deployment-checks:
 extends: .pre-deployment-checks-template

# deploy
deploy:
  extends: .deploy-to-lac-template

# test post-deploy
Federico Felici's avatar
Federico Felici committed
test-post-deploy-matlab-9.2.0:
  extends: .test-post-deploy-template
Federico Felici's avatar
Federico Felici committed
    MATLABCMD: matlab920
    TESTCASE: basic-tcv