forked from extcode/cart_paypal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
49 lines (39 loc) · 981 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
48
49
language: php
sudo: false
matrix:
fast_finish: true
include:
- php: 7.4
env: TYPO3_VERSION=^10.4
- php: 7.3
env: TYPO3_VERSION=^10.4
- php: 7.2
env: TYPO3_VERSION=^10.4
cache:
directories:
- $HOME/.composer/cache
addons:
apt:
packages:
- parallel
notifications:
email:
before_install:
- echo $TRAVIS_PHP_VERSION
- if php -i | grep -q xdebug; then phpenv config-rm xdebug.ini; fi
- composer self-update
- composer --version
before_script:
- composer require typo3/cms=$TYPO3_VERSION
- git checkout composer.json
- export TYPO3_PATH_WEB="$PWD/.Build/Web"
script:
- >
echo;
echo "Running php lint";
find . -name \*.php ! -path "./.Build/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
- >
echo;
echo "Running php-cs-fixer";
.Build/bin/php-cs-fixer fix --config=Build/.php_cs -v --dry-run --using-cache=no --path-mode=intersection ./;