Skip to content

Commit

Permalink
[TASK] Update trevis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Jun 15, 2016
1 parent 584ba8e commit 6fb17ea
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
31 changes: 18 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
language: php

php:
- 5.5
- 5.6
- 7
- 5.5
- 5.6
- 7

env:
- TYPO3_VERSION=^6.2.0
- TYPO3_VERSION=^7.6.0
- TYPO3_VERSION=^8.1.0
- TYPO3_VERSION=^6.2.0
- TYPO3_VERSION=^7.6.0

matrix:
fast_finish: true
exclude:
- php: 7
env: TYPO3_VERSION=^6.2.0
- php: 5.5
env: TYPO3_VERSION=^8.1.0
- php: 5.6
include:
- php: 7
env: TYPO3_VERSION=^8.1.0
- php: 7
env: TYPO3_VERSION=dev-master
allow_failures:
- env: TYPO3_VERSION=dev-master

sudo: false
cache:
Expand All @@ -35,10 +38,12 @@ before_script:
- 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 unit tests"; .Build/bin/phpunit -c .Build/vendor/typo3/cms/typo3/sysext/core/Build/UnitTests.xml Tests/Unit/
- |
echo; echo "Executing PHP mess detector"; .Build/bin/phpmd Classes/ text cleancode,codesize,controversial,design,naming || true
- |
echo; echo "Executing PHP code sniffer"; .Build/bin/phpcs --runtime-set ignore_warnings_on_exit true --standard=PSR2 Classes/
after_script:
- >
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
},
"require-dev": {
"namelesscoder/typo3-repository-client": "1.1.x-dev",
"phpunit/phpunit": "~4.8.0"
"phpunit/phpunit": "~4.8.0",
"squizlabs/php_codesniffer": "^2.6",
"phpmd/phpmd": "^2.4"
},
"config": {
"vendor-dir": ".Build/vendor",
Expand Down

0 comments on commit 6fb17ea

Please sign in to comment.