language: php
sudo: false
services:
- postgresql
- mysql
php:
- 7.3
- 7.2
env:
global:
- PLUGIN=Group_assign
- KANBOARD_REPO=https://github.com/kanboard/kanboard.git
matrix:
- DB=sqlite
- DB=mysql
- DB=postgres
matrix:
fast_finish: true
install:
- git clone --depth 1 $KANBOARD_REPO
- ln -s $TRAVIS_BUILD_DIR kanboard/plugins/$PLUGIN
before_script:
- cd kanboard
- phpenv config-add tests/php.ini
- composer install
- ls -la plugins/
script:
- ./vendor/bin/phpunit -c tests/units.$DB.xml plugins/$PLUGIN/Test/
|