language: php

services:
  - docker

before_script:
    - docker pull cleverage/process-bundle:sf4

script:
    - docker run -it --mount type=bind,src=$(pwd),dst=/src-cleverage_process cleverage/process-bundle:sf4 php vendor/bin/phpunit

language: php

services:
  - docker

before_script:
    - docker pull cleverage/process-bundle:sf3
    - docker pull cleverage/process-bundle:sf4
    - docker pull cleverage/process-bundle:sf5

# Tests should be done in reversed order to check most important versions first
script:
    - docker run -it --mount type=bind,src=$(pwd),dst=/src-cleverage_process cleverage/process-bundle:sf5 php vendor/bin/phpunit
    - docker run -it --mount type=bind,src=$(pwd),dst=/src-cleverage_process cleverage/process-bundle:sf4 php vendor/bin/phpunit
    - docker run -it --mount type=bind,src=$(pwd),dst=/src-cleverage_process cleverage/process-bundle:sf3 php vendor/bin/phpunit

Enable tests for current symfony versions
Enable tests for current symfony versions
