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

variables:
  TBXFOLDER: matlab
  MATFIRSTS: 850
# no build for gdat, so don't define jobs for build phase
 
# test jobs
test-matlab-8.5.0:
  extends: .test-template
  variables:
    MATLABCMD: matlab850
test-matlab-default:
  extends: .test-template
  variables:
    MATLABCMD: matlab
    TESTCASE: basic-tcv
# comment while genlib for 9.6.0 is not avaiable
  extends: .test-template
  tags:
  - lac8-gituser
  variables:
    MATLABCMD: matlab960
    TESTCASE: basic-tcv

# Tests with 'all' option deactivated for now since not workin
test-matlab-8.5.0-all:
  extends: test-matlab-8.5.0
Federico Felici's avatar
Federico Felici committed
  variables:
     TESTCASE: all
  only:
  - schedules
  - web

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

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

 extends: .test-staging-template
 variables:
  MATLABCMD: matlab940

test-staging-920:
 extends: .test-staging-template
 variables:
  MATLABCMD: matlab920
 
test-staging-900:
 extends: .test-staging-template
 variables:
  MATLABCMD: matlab900

test-staging-850:
 extends: .test-staging-template
 variables:
  MATLABCMD: matlab850
  
# pre-deployment
pre-deployment-checks:
 extends: .pre-deployment-checks-template

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

# test post-deploy
test-post-deploy-matlab:
  extends: .test-post-deploy-template
    TESTCASE: basic-tcv

test-post-deploy-matlab-850:
  extends: .test-post-deploy-template
  variables:
    MATLABCMD: matlab850
    TESTCASE: basic-tcv