5 # Only build the main develop/master branches - feature branches will be covered by PRs
8 - /^[0-9\.]+\/(develop|master)$/
12 - $HOME/.composer/cache/files
25 env: 'COMPOSER_PHPUNIT="lowest"'
28 - composer self-update
29 - COMPOSER_ROOT_VERSION=3.3.x-dev composer install --prefer-dist --no-interaction
30 - if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then COMPOSER_ROOT_VERSION=3.3.x-dev composer update --prefer-lowest --with-dependencies phpunit/phpunit; fi;
31 - vendor/bin/koharness
34 - cd /tmp/koharness && ./vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php