.gitlab-ci.yml 486 B

123456789101112131415161718192021222324252627
  1. stages:
  2. - test
  3. - deploy
  4. #variables:
  5. # CI_DEBUG_TRACE: "true"
  6. nose2_job:
  7. stage: test
  8. before_script:
  9. - pip67 install -r requirements.txt
  10. script:
  11. - nose2
  12. deploy_job:
  13. stage: deploy
  14. variables:
  15. DEPLOY_TO: \\BUILD-01\build\pardit
  16. script:
  17. - echo Deploy to %DEPLOY_TO%
  18. - copy /Y %cd%\VERSION.txt %DEPLOY_TO%
  19. - iscc /O%DEPLOY_TO% setup.iss
  20. # Attention: iscc.exe provoque un exit, il doit etre execute en dernier
  21. when: manual
  22. only:
  23. - master