Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release/1.0.0-beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Kowalke committed Jul 13, 2014
2 parents 5b8db41 + f18081b commit acbe842
Show file tree
Hide file tree
Showing 26 changed files with 4,092 additions and 1,330 deletions.
49 changes: 49 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
filter:
excluded_paths:
- 'Resources/Public/vendor/*'
- 'Tests/*'

tools:

external_code_coverage:
timeout: 700

php_sim: true

php_code_sniffer:
enabled: true
command: phpcs -n
config:
standard: TYPO3CMS

php_cs_fixer: false

php_mess_detector:
enabled: true
config:
code_size_rules:
cyclomatic_complexity: true
npath_complexity: true
excessive_class_complexity: true
controversial_rules:
superglobals: false

php_pdepend: true

php_analyzer:
enabled: true
config:
basic_semantic_checks:
enabled: true
property_on_interface: true
missing_abstract_methods: true
deprecation_checks:
enabled: true
simplify_boolean_return:
enabled: true
metrics_lack_of_cohesion_methods:
enabled: true
dead_assignments:
enabled: true

sensiolabs_security_checker: true
52 changes: 52 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6

env:
- DB=mysql TYPO3=coreapi/develop INTEGRATION=master COVERAGE=0

services:
- memcached
- redis-server

notifications:
email:
- blueduck@gmx.net
slack:
rooms:
- typo3:DHkQdCNWc6x2znPAYA5T2LXO#gsoc-coreapi

before_script:
# Get latest git version cause of travis issues (https://github.com/travis-ci/travis-ci/issues/1710)
- sudo apt-get update && sudo apt-get install git parallel tree
- >
if [[ "$TRAVIS_PHP_VERSION" = "5.3" || "$TRAVIS_PHP_VERSION" = "5.4" ]]; then
echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
echo "apc.slam_defense=0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
pecl install igbinary > /dev/null;
fi
- echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- cd ..
- git clone --single-branch --branch $INTEGRATION --depth 1 git://github.com/TYPO3-coreapi/TYPO3-Travis-Integration.git build-environment
- source build-environment/install-helper.sh
- git clone --single-branch --branch $TYPO3 --depth 1 https://github.com/TYPO3-coreapi/TYPO3CMS.git core
- mv core/* .
- composer self-update
- composer --dev install
- mkdir -p fileadmin uploads typo3temp typo3conf/ext/
- mv ext-coreapi typo3conf/ext/coreapi

script:
- phpLint typo3conf/ext/coreapi
- >
echo;
echo "Running unit tests";
./bin/phpunit --colors --coverage-clover=coverage.clover -c typo3/sysext/core/Build/UnitTests.xml typo3conf/ext/coreapi/Tests/Unit/
- wget https://scrutinizer-ci.com/ocular.phar
- cp -R typo3conf/ext/coreapi/.git .
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Loading

0 comments on commit acbe842

Please sign in to comment.