Bootswatch, Summernote, and Captcheck mods for Mods for HESK (mods-for-hesk.com). In use at support.netsyms.com.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.gitlab-ci.yml 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. stages:
  2. - validate
  3. - test
  4. - package
  5. before_script:
  6. - bash ci/docker_install.sh > /dev/null
  7. validate:7.2:
  8. image: php:7.2
  9. stage: validate
  10. script:
  11. - bash ci/php_lint.sh ./
  12. validate:7.1:
  13. image: php:7.1
  14. stage: validate
  15. script:
  16. - bash ci/php_lint.sh ./
  17. validate:7.0:
  18. image: php:7.0
  19. stage: validate
  20. script:
  21. - bash ci/php_lint.sh ./
  22. validate:5.6:
  23. image: php:5.6
  24. stage: validate
  25. script:
  26. - bash ci/php_lint.sh ./
  27. validate:5.5:
  28. image: php:5.5
  29. stage: validate
  30. script:
  31. - bash ci/php_lint.sh ./
  32. validate:5.4:
  33. image: php:5.4
  34. stage: validate
  35. script:
  36. - bash ci/php_lint.sh ./
  37. validate:5.3:
  38. image: php:5.3
  39. stage: validate
  40. script:
  41. - bash ci/php_lint.sh ./
  42. test:7.1:
  43. image: php:7.1
  44. stage: test
  45. script:
  46. - cd api
  47. - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
  48. - php composer-setup.php
  49. - php -r "unlink('composer-setup.php');"
  50. - php composer.phar update
  51. - php composer.phar install
  52. - cd Tests
  53. - phpunit
  54. test:7.2:
  55. image: php:7.2
  56. stage: test
  57. script:
  58. - cd api
  59. - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
  60. - php composer-setup.php
  61. - php -r "unlink('composer-setup.php');"
  62. - php composer.phar update
  63. - php composer.phar install
  64. - cd Tests
  65. - phpunit
  66. package:
  67. image: tetraweb/php
  68. when: manual
  69. stage: package
  70. script:
  71. - apt-get update
  72. - apt-get install zip unzip
  73. - cd api
  74. - composer install --no-dev
  75. - cd ../ci
  76. - bash build_zip.sh
  77. artifacts:
  78. paths:
  79. - release.zip