API client for Kitsu.io, with optional Anime collection, and optional Anilist syncing.
anime
manga
kitsu
anilist
single-user

Jenkinsfile 983B

12345678910111213141516171819202122232425262728293031323334353637
  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. }
  37. }