Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
72 lines (61 sloc) 1.54 KB
language: php
php:
# - 5.3
# - 5.4
- 5.5
- 5.6
- 7
env:
matrix:
# - TYPO3_VERSION="^6.2.0"
- TYPO3_VERSION="^7.6.0"
- TYPO3_VERSION="^8.5"
matrix:
exclude:
- php: 5.3
env: TYPO3_VERSION="^7.6.0"
- php: 5.4
env: TYPO3_VERSION="^7.6.0"
- php: 5.3
env: TYPO3_VERSION="^8.5"
- php: 5.4
env: TYPO3_VERSION="^8.5"
- php: 5.5
env: TYPO3_VERSION="^8.5"
- php: 5.6
env: TYPO3_VERSION="^8.5"
- php: 7
env: TYPO3_VERSION="^6.2.0"
sudo: false
addons:
apt:
packages:
- parallel
cache:
directories:
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini
- composer self-update
before_script:
- composer require typo3/cms="$TYPO3_VERSION"
# Restore composer.json
- git checkout composer.json
- export TYPO3_PATH_WEB=$PWD/.build/web
script:
- >
echo;
echo "Running unit tests";
.build/bin/phpunit -c .build/vendor/typo3/cms/typo3/sysext/core/Build/UnitTests.xml Tests/Unit/
- >
echo;
echo "Running php lint";
find . -name \*.php ! -path "./.build/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
#
# - >
# echo;
# export typo3DatabaseName="typo3";
# export typo3DatabaseHost="localhost";
# export typo3DatabaseUsername="root";
# export typo3DatabasePassword="";
# find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; .Build/bin/phpunit --colors -c .Build/vendor/typo3/cms/typo3/sysext/core/Build/FunctionalTests.xml {}'
You can’t perform that action at this time.