Skip to content

Commit

Permalink
Bump dependency versions and activate phpcq.
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed Mar 24, 2015
1 parent f14a730 commit 141d0e7
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 8 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: php

php:
- "5.3"
- "5.4"
- "5.5"
- "5.6"

env:
matrix:
- CONTAO_VERSION=~3.2.0
- CONTAO_VERSION=~3.3.0
- CONTAO_VERSION=~3.4.1

sudo: false

install:
- composer require contao/core $CONTAO_VERSION --prefer-dist --dev
- composer install --prefer-dist --dev

script: ant -keep-going

# Hack to make things work again - we can not use a shallow repository.
git:
depth: 2147483647
9 changes: 9 additions & 0 deletions build.default.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#####################################################
## This project is using the ##
## PHP code quality project (phpcq) ##
## ##
## https://github.com/phpcq/phpcq ##
#####################################################

phpcs.standard=${basedir}/vendor/phpcq/coding-standard/phpcs/PhpCodeQuality/ruleset.xml
phpmd.ruleset=${basedir}/vendor/phpcq/coding-standard/phpmd/ruleset.xml
11 changes: 11 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This project is using the PHP code quality project (PHPCQ).
For documentation visit:
https://github.com/phpcq/phpcq
-->
<project name="MetaModels filter register" default="build">
<import file="vendor/phpcq/phpcq/phpcq.main.xml"/>
</project>
19 changes: 11 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@
},
"require": {
"php": ">=5.3",
"contao/core": ">=2.11,<4.0",
"contao/core": ">=3.2,<3.5",
"contao-community-alliance/composer-plugin": "~2.0",
"metamodels/core": "~1"
"metamodels/core": "~2.0"
},
"require-dev": {
"metamodels/php-coding-standard": "dev-master",
"cyberspectrum/contao-toolbox": "dev-master",
"phpunit/phpunit": ">=3.7.10,<4-dev"
"cyberspectrum/contao-toolbox": "~0.6",
"phpcq/all-tasks": "~1.0"
},
"conflict": {
"contao/core": "3.4.0"
},
"autoload": {
"psr-0": {
Expand All @@ -53,8 +55,9 @@
}
},
"branch-alias": {
"dev-master": "1.0.x-dev",
"dev-contao3": "1.1.x-dev"
"dev-tng": "2.0.x-dev"
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 141d0e7

Please sign in to comment.