Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 41 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,46 @@
language: php

php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
cache:
directories:
- $HOME/.composer/cache/files

before_install:
phpenv config-rm xdebug.ini

before_script:
- composer self-update
- composer install --prefer-source
# Symfony 2.7
- if [[ $SYMFONY_DEPS_VERSION = 2.7 ]]; then sed -i 's/~2\.1|~3\.0|~4\.0/2.7/g' composer.json; fi
# Symfony 3.0
- if [[ $SYMFONY_DEPS_VERSION = 3.4 ]]; then sed -i 's/~2\.1|~3\.0|~4\.0/3.0/g' composer.json; fi
# Symfony 4.0
- if [[ $SYMFONY_DEPS_VERSION = 3.1 ]]; then sed -i 's/~2\.1|~3\.0|~4\.0/4.0/g' composer.json; fi
- composer update --no-suggest

script:
phpunit --coverage-text

script: phpunit --coverage-text
matrix:
include:
- php: 5.3
env: SYMFONY_DEPS_VERSION=2.7
dist: precise
- php: 5.4
env: SYMFONY_DEPS_VERSION=2.7
- php: 5.5
env: SYMFONY_DEPS_VERSION=2.7
- php: 5.6
env: SYMFONY_DEPS_VERSION=2.7
- php: 5.5.9
env: SYMFONY_DEPS_VERSION=3.4
- php: 5.6
env: SYMFONY_DEPS_VERSION=3.4
- php: 7.0
env: SYMFONY_DEPS_VERSION=3.4
- php: 7.1
env: SYMFONY_DEPS_VERSION=3.4
- php: 7.2
env: SYMFONY_DEPS_VERSION=3.4
- php: 7.1.3
env: SYMFONY_DEPS_VERSION=4.0
- php: 7.2
env: SYMFONY_DEPS_VERSION=4.0
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
],
"require": {
"php": ">=5.3.0",
"symfony/http-foundation": "~2.1",
"symfony/http-kernel": "~2.1"
"symfony/http-foundation": "~2.7|~3.0|~4.0",
"symfony/http-kernel": "~2.7|~3.0|~4.0"
},
"require-dev": {
"stack/callable-http-kernel": "~1.0@dev"
Expand Down
Loading