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.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. image: php:7.2
  2. before_script:
  3. # update os
  4. - apt-get update -yqq
  5. # install missing packages
  6. - apt-get install wget git zip unzip -yqq
  7. # install composer.phar
  8. - curl -sS https://getcomposer.org/installer | php
  9. # install xdebug
  10. - pecl install xdebug
  11. # enable xdebug
  12. - docker-php-ext-enable xdebug
  13. # run composer install
  14. - php composer.phar install
  15. image: php:7.3
  16. before_script:
  17. # update os
  18. - apt-get update -yqq
  19. # install missing packages
  20. - apt-get install wget git zip unzip -yqq
  21. # install composer.phar
  22. - curl -sS https://getcomposer.org/installer | php
  23. # install xdebug
  24. - pecl install xdebug-beta
  25. # enable xdebug
  26. - docker-php-ext-enable xdebug
  27. # run composer install
  28. - php composer.phar install
  29. image: php:7.4
  30. before_script:
  31. # update os
  32. - apt-get update -yqq
  33. # install missing packages
  34. - apt-get install wget git zip unzip -yqq
  35. # install composer.phar
  36. - curl -sS https://getcomposer.org/installer | php
  37. # install xdebug
  38. - pecl install xdebug-beta
  39. # enable xdebug
  40. - docker-php-ext-enable xdebug
  41. # run composer install
  42. - php composer.phar install
  43. # test php 7.2
  44. test:php7.2:
  45. image: php:7.2
  46. script:
  47. - vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
  48. allow_failure: false
  49. # test php 7.3
  50. test:php7.3:
  51. image: php:7.3
  52. script:
  53. - vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
  54. allow_failure: false
  55. # test php 7.4
  56. test:php7.4:
  57. image: php:7.4
  58. script:
  59. - vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
  60. allow_failure: false