Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Allow Symfony ^4.0 (#94)
Browse files Browse the repository at this point in the history
* Allow Symfony ^4.0 as composer dependency

* Updated Travis matrix to build last possible versions

* Travis build fix

* Require specific phpunit version to avoid failures

* Bugfixed wrong phpunit bin file usage

* Normalize travis testing matrix like other lexik bundles

* Fixed HHVM failure ignore
  • Loading branch information
yann-eugone authored and gilles-g committed Jan 17, 2019
1 parent 7af1fc1 commit 46a85d8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
41 changes: 22 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
language: php

sudo: false

cache:
directories:
- $HOME/.composer/cache

php:
- 5.5
- 5.6
- 7.0
- hhvm

matrix:
fast_finish: true
include:
- php: 5.5
env: SYMFONY_VERSION=2.7.*
- php: 5.5
env: SYMFONY_VERSION=2.8.*
- php: 5.5
env: SYMFONY_VERSION=3.4.*
- php: 7.1
env: SYMFONY_VERSION=4.0.*
- php: 7.2
env: SYMFONY_VERSION=4.1.*
- php: 7.2
env: SYMFONY_VERSION=4.2.*
- php: hhvm-stable
sudo: required
dist: trusty
group: edge
allow_failures:
- php: hhvm
- php: 7.0
- php: hhvm-stable

env:
- SYMFONY_VERSION=2.7.*
- SYMFONY_VERSION=2.8.*
- SYMFONY_VERSION=3.0.*
cache:
directories:
- $HOME/.composer/cache

before_install:
- composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update
Expand All @@ -30,4 +33,4 @@ before_install:

install: composer install --prefer-dist --no-interaction

script: phpunit
script: vendor/bin/phpunit
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"psr/log": "~1.0",
"lib-curl": ">=7.10.0",
"lib-openssl": ">=0.9.6",
"symfony/framework-bundle": "~2.7|~3.0",
"symfony/form": "~2.7|~3.0",
"symfony/options-resolver": "~2.7|~3.0",
"symfony/framework-bundle": "~2.7|~3.0|~4.0",
"symfony/form": "~2.7|~3.0|~4.0",
"symfony/options-resolver": "~2.7|~3.0|~4.0",
"kriswallsmith/buzz": "~0.15"
},
"require-dev": {
"symfony/phpunit-bridge": "^2.7.4"
"phpunit/phpunit": "~4.0"
},
"autoload": {
"psr-4": { "Lexik\\Bundle\\PayboxBundle\\": "" }
Expand Down

0 comments on commit 46a85d8

Please sign in to comment.