-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
37 lines (30 loc) · 860 Bytes
/
.travis.yml
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
36
37
language: php
dist: bionic
php:
- 7.4
- 8.0
- 8.1
- nightly
matrix:
allow_failures:
- php: nightly
notifications:
slack: kumbiaphp:51JaKQTXASwf52D8b32OyWb9
# irc: "irc.freenode.org#kumbiaphp"
# email:
services:
- mysql
- postgresql
install:
- composer install
before_script:
- "mysql -e 'DROP DATABASE IF EXISTS kumbia_test;'"
- "mysql -e 'create database kumbia_test;'"
- "psql -c 'DROP DATABASE IF EXISTS kumbia_test;' -U postgres"
- "psql -c 'create database kumbia_test;' -U postgres"
script:
- phpunit --version
- phpunit --configuration tests/phpunit.xml --coverage-text --colors --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover