-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
47 lines (38 loc) · 970 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
38
39
40
41
42
43
44
45
46
47
sudo: false
language: php
php:
- 7.2
- 7.3
services:
- mysql
- postgresql
addons:
apt:
packages:
- parallel
env:
global:
- CODACY_PROJECT_TOKEN=a3ba86a8a97846e9a8bca68975f22c66
matrix:
- typo3DatabaseDriver=mysqli typo3DatabaseUsername=root typo3DatabaseHost=localhost typo3DatabaseName=test
- typo3DatabaseDriver=pdo_pgsql typo3DatabaseUsername=postgres typo3DatabaseHost=localhost typo3DatabaseName=test
- typo3DatabaseDriver=pdo_sqlite
cache:
directories:
- $HOME/.composer/cache
install:
- >
composer install;
composer build:package:link
script:
- >
echo;
echo "Running php lint";
find . -name \*.php ! -path "./.build/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
- >
echo;
echo "Running functional tests";
.build/bin/phpunit -c Build/FunctionalTests.xml Tests/Functional/
after_script:
- >
.build/bin/codacycoverage clover .build/coverage.xml