API client for Kitsu.io, with optional Anime collection, and optional Anilist syncing.
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.

Jenkinsfile 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. pipeline {
  2. agent none
  3. stages {
  4. stage('PHP 7.1') {
  5. agent {
  6. docker {
  7. image 'php:7.1-alpine'
  8. args '-u root --privileged'
  9. }
  10. }
  11. steps {
  12. sh 'chmod +x ./build/docker_install.sh'
  13. sh 'sh build/docker_install.sh'
  14. sh 'apk add --no-cache php7-phpdbg'
  15. sh 'curl -sS https://getcomposer.org/installer | php'
  16. sh 'php composer.phar install --ignore-platform-reqs'
  17. sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
  18. }
  19. }
  20. stage('PHP 7.2') {
  21. agent {
  22. docker {
  23. image 'php:7.2-alpine'
  24. args '-u root --privileged'
  25. }
  26. }
  27. steps {
  28. sh 'chmod +x ./build/docker_install.sh'
  29. sh 'sh build/docker_install.sh'
  30. sh 'apk add --no-cache php7-phpdbg'
  31. sh 'curl -sS https://getcomposer.org/installer | php'
  32. sh 'php composer.phar install --ignore-platform-reqs'
  33. sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
  34. }
  35. }
  36. stage('PHP 7.3') {
  37. agent {
  38. docker {
  39. image 'php:7.3-alpine'
  40. args '-u root --privileged'
  41. }
  42. }
  43. steps {
  44. sh 'chmod +x ./build/docker_install.sh'
  45. sh 'sh build/docker_install.sh'
  46. sh 'apk add --no-cache php7-phpdbg'
  47. sh 'curl -sS https://getcomposer.org/installer | php'
  48. sh 'php composer.phar install --ignore-platform-reqs'
  49. sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never'
  50. }
  51. }
  52. }
  53. }