forked from greenfieldr/tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (19 loc) · 903 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
language: php
php:
- 5.3
- 5.4
env:
- DB=mysql
before_script:
- export REPOSITORY="tool"
- git clone https://github.com/FluidTYPO3/TYPO3-Travis-Integration.git build-environment
- source build-environment/install-utilities.sh
- source build-environment/install-helper.sh
- source build-environment/install-preserve-repository.sh
script:
# initial, quick inspection
- php build-environment/FluidTYPO3-CodingStandards/commit_message_inspector.php $PWD/build-environment/repository
# phplint checking on all PHP source files in extension
- find $PWD/build-environment/repository -name *.php -exec phpLint {} --fails-on-warning --report-unused \;
# PHPCodeSniffer code inspection with only errors displayed (no warnings)
- $PWD/build-environment/CodeSniffer/scripts/phpcs -n --standard=$PWD/build-environment/FluidTYPO3-CodingStandards/ruleset.xml $PWD/build-environment/repository