Skip to content

Commit

Permalink
Merge pull request #6 from olaurendeau/fix_travis
Browse files Browse the repository at this point in the history
Try fixing travis build
  • Loading branch information
Olivier Laurendeau authored Oct 11, 2016
2 parents 3c4c7ed + e254a36 commit e4cfa08
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 127 deletions.
130 changes: 8 additions & 122 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,129 +1,15 @@
language: php

matrix:
include:
- php: 5.3
env: SYMFONY_VERSION="2.1.*"
- php: 5.3
env: SYMFONY_VERSION="2.2.*"
- php: 5.3
env: SYMFONY_VERSION="2.3.*"
- php: 5.3
env: SYMFONY_VERSION="2.4.*"
- php: 5.3
env: SYMFONY_VERSION="2.5.*"
- php: 5.3
env: SYMFONY_VERSION="2.6.*"
- php: 5.3
env: SYMFONY_VERSION="2.7.*"
- php: 5.3
env: SYMFONY_VERSION="2.8.*"

- php: 5.4
env: SYMFONY_VERSION="2.1.*"
- php: 5.4
env: SYMFONY_VERSION="2.2.*"
- php: 5.4
env: SYMFONY_VERSION="2.3.*"
- php: 5.4
env: SYMFONY_VERSION="2.4.*"
- php: 5.4
env: SYMFONY_VERSION="2.5.*"
- php: 5.4
env: SYMFONY_VERSION="2.6.*"
- php: 5.4
env: SYMFONY_VERSION="2.7.*"
- php: 5.4
env: SYMFONY_VERSION="2.8.*"

- php: 5.5
env: SYMFONY_VERSION="2.1.*"
- php: 5.5
env: SYMFONY_VERSION="2.2.*"
- php: 5.5
env: SYMFONY_VERSION="2.3.*"
- php: 5.5
env: SYMFONY_VERSION="2.4.*"
- php: 5.5
env: SYMFONY_VERSION="2.5.*"
- php: 5.5
env: SYMFONY_VERSION="2.6.*"
- php: 5.5
env: SYMFONY_VERSION="2.7.*"
- php: 5.5
env: SYMFONY_VERSION="2.8.*"
- php: 5.5
env: SYMFONY_VERSION="3.0.*"
- php: 5.5
env: SYMFONY_VERSION="3.1.*"

- php: 5.6
env: SYMFONY_VERSION="2.1.*"
- php: 5.6
env: SYMFONY_VERSION="2.2.*"
- php: 5.6
env: SYMFONY_VERSION="2.3.*"
- php: 5.6
env: SYMFONY_VERSION="2.4.*"
- php: 5.6
env: SYMFONY_VERSION="2.5.*"
- php: 5.6
env: SYMFONY_VERSION="2.6.*"
- php: 5.6
env: SYMFONY_VERSION="2.7.*"
- php: 5.6
env: SYMFONY_VERSION="2.8.*"
- php: 5.6
env: SYMFONY_VERSION="3.0.*"
- php: 5.6
env: SYMFONY_VERSION="3.1.*"

- php: 7.0
env: SYMFONY_VERSION="2.1.*"
- php: 7.0
env: SYMFONY_VERSION="2.2.*"
- php: 7.0
env: SYMFONY_VERSION="2.3.*"
- php: 7.0
env: SYMFONY_VERSION="2.4.*"
- php: 7.0
env: SYMFONY_VERSION="2.5.*"
- php: 7.0
env: SYMFONY_VERSION="2.6.*"
- php: 7.0
env: SYMFONY_VERSION="2.7.*"
- php: 7.0
env: SYMFONY_VERSION="2.8.*"
- php: 7.0
env: SYMFONY_VERSION="3.0.*"
- php: 7.0
env: SYMFONY_VERSION="3.1.*"

- php: 7.1
env: SYMFONY_VERSION="2.1.*"
- php: 7.1
env: SYMFONY_VERSION="2.2.*"
- php: 7.1
env: SYMFONY_VERSION="2.3.*"
- php: 7.1
env: SYMFONY_VERSION="2.4.*"
- php: 7.1
env: SYMFONY_VERSION="2.5.*"
- php: 7.1
env: SYMFONY_VERSION="2.6.*"
- php: 7.1
env: SYMFONY_VERSION="2.7.*"
- php: 7.1
env: SYMFONY_VERSION="2.8.*"
- php: 7.1
env: SYMFONY_VERSION="3.0.*"
- php: 7.1
env: SYMFONY_VERSION="3.1.*"
php:
- '5.3'
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'

before_script:
- composer install
install:
- composer require symfony/config:${SYMFONY_VERSION} symfony/dependency-injection:${SYMFONY_VERSION} symfony/http-kernel:${SYMFONY_VERSION} symfony/http-foundation:${SYMFONY_VERSION} symfony/event-dispatcher:${SYMFONY_VERSION} symfony/filesystem:${SYMFONY_VERSION} symfony/framework-bundle:${SYMFONY_VERSION} symfony/console:${SYMFONY_VERSION} symfony/translation:${SYMFONY_VERSION} symfony/routing:${SYMFONY_VERSION} symfony/templating:${SYMFONY_VERSION}
- composer update
script: bin/phpunit --coverage-clover=coverage.clover Tests
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
Expand Down
18 changes: 13 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@
"require": {
"php": ">=5.3",
"richardfullmer/rabbitmq-management-api": "^1.0",
"symfony/config": ">=2.1",
"symfony/console": ">=2.1",
"symfony/framework-bundle": ">=2.1",
"symfony/dependency-injection": ">=2.1",
"symfony/http-kernel": ">=2.1"
"symfony/config": "2.2.*",
"symfony/console": "2.2.*",
"symfony/framework-bundle": "2.2.*",
"symfony/dependency-injection": "2.2.*",
"symfony/http-kernel": "2.2.*",
"symfony/http-foundation": "2.2.*",
"symfony/event-dispatcher": "2.2.*",
"symfony/filesystem": "2.2.*",
"symfony/translation": "2.2.*",
"symfony/routing": "2.2.*",
"symfony/templating": "2.2.*",
"symfony/stopwatch": "2.2.*",
"symfony/debug": "2.3.*"
},
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "0.*",
Expand Down

0 comments on commit e4cfa08

Please sign in to comment.