Files
plugin-calendar/.travis.yml
Frédéric Guillot 78ff20b2e9 Fix broken CI
2019-10-24 18:24:58 -07:00

39 lines
599 B
YAML

language: php
sudo: false
notifications:
email: false
services:
- postgresql
- mysql
php:
- 7.1
- 7.0
- 5.6
env:
global:
- PLUGIN=Calendar
- 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/