34 lines
539 B
YAML
34 lines
539 B
YAML
|
language: php
|
||
|
sudo: false
|
||
|
notifications:
|
||
|
email: false
|
||
|
|
||
|
php:
|
||
|
- 7.0
|
||
|
- 5.6
|
||
|
|
||
|
env:
|
||
|
global:
|
||
|
- PLUGIN=Slack
|
||
|
- 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:
|
||
|
- phpunit -c tests/units.$DB.xml plugins/$PLUGIN/Test/
|