summaryrefslogtreecommitdiff
path: root/plugins/InternalID/.travis.yml
blob: 9753d0b68d19ff9ceebe903eba7af86c6db4cebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: php
sudo: false

php:
  - 7.1
  - 7.0
  - 5.6
  - 5.5
  - 5.4
  - 5.3

env:
  global:
    - PLUGIN=InternalID
    - 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/