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 install --prefer-dist --no-interaction
30 - if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies --prefer-dist --no-interaction phpunit/phpunit; fi;
31 - vendor/bin/koharness
34 - cd /tmp/koharness && ./vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php