-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
64 lines (55 loc) · 2.16 KB
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: php
jobs:
include:
- stage: test
php: "7.0"
env: TYPO3_VERSION=^8
- stage: test
php: "7.1"
env: TYPO3_VERSION=^8
- stage: test
php: "7.2"
env: TYPO3_VERSION=^8
- stage: test
php: "7.2"
env: TYPO3_VERSION=^9
sudo: false
addons:
apt:
packages:
- parallel
cache:
directories:
- "$HOME/.composer/cache"
notifications:
slack:
rooms:
- secure: "D0GfS7IWaCQfmPixKq0r2cA2Reg6pL7YUkSNigQs3Djm2Xa7AyiWm3iXgRuB4YR7QYAfLR0oyIam7G4xJ32TQKKXp2VpiE7CZWDYZ+rKpJxVm395+ZwYIo9RSXamvGk05pJyRWGPFHCJAwjJ1dW5NUqkbxdUq4gAeWAeXnuILyKd/iH+7saLXSMs8glbeCtZKxW/vhqkBffSaIjlropUsThnJRnJLUbcv9wJWbN6cmOKHnQf4vJw6Pgwt/w2Q4Q4XLGZPV+vNXN9Tsqn2XvPY46eiBlaB/ZtHSyN2XEacf+dOULODfDAqho3mvk6L/1BZy+roLnXV8qZJWFcI6R8OP2SvX1R9XPPnsswZxa2YF92yNDad3mhaR/4YKMf8a3LLwUrIGMQeykqfFs0+gzaVOI6tQnu+COQ19TrxKUNN4BROiTfP74pt0FWeid1jDdbqzcAH+kHuS7NKEN2Niaxl6mOgCjdSigOrH2+hEPJmdR1vhhrGwZAhAKLPhjr/r/29NGMaXd5X/93pR/OpRD4Atuo4JC2tIBTmQQ+akxFbc5iJeNsAcEPSedGzXbXpKLmzPqOSMTUKeIeqEpnOZcDQqVg4peqBuSGDs5ocgOPnwZGSoOtfODGzGhuZPLnUJPNr4wiL22xJG6PyUPqii1ev8QrkZPeyfASB5xBvbbYkY4="
before_install:
- if php -i | grep -q xdebug; then phpenv config-rm xdebug.ini; fi
- composer self-update
install:
- >
composer config minimum-stability dev;
composer config prefer-stable true;
- while true; do echo "..."; sleep 60; done &
- composer require typo3/minimal=$TYPO3_VERSION
- kill %1
- mkdir -p .Build/public/typo3conf/ext/
- if [ ! -L .Build/public/typo3conf/ext/rlmp_tmplselector ]; then ln -snvf ../../../../. .Build/public/typo3conf/ext/rlmp_tmplselector; fi
- echo 'date.timezone = "Europe/Berlin"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- git checkout composer.json
- export TYPO3_PATH_ROOT=$PWD/.Build/public
script:
- >
echo;
echo "Running parallel";
echo;
echo;
find . -name \*.php ! -path "./.Build/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;;
- >
echo;
echo "Running PHP Coding Standards Fixer checks";
echo;
echo;
.Build/bin/php-cs-fixer fix Classes --config=Build/.php_cs.php --dry-run --using-cache=no -v --diff;