blob: 0f0a2e5bbdb948b085f381b6c0a7a1b754b488f9 (
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
|
git:
depth: 3
language: php
sudo: false
php:
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
env:
- DB=sqlite
- DB=postgres
matrix:
fast_finish: true
before_script:
- if [[ $TRAVIS_PHP_VERSION != 7.x ]]; then phpenv config-rm xdebug.ini; fi
- phpenv config-add tests/php.ini
- composer install
- npm install
script:
- ./node_modules/.bin/jshint assets/js/{core,components}
- ./vendor/bin/phpunit -c tests/units.$DB.xml
- ./vendor/bin/phpunit tests/configtest
|