Skip to content

Commit

Permalink
Merge pull request #14 from xsolve-pl/symfony-4
Browse files Browse the repository at this point in the history
Getting ready for Symfony 4.
  • Loading branch information
malef authored May 17, 2018
2 parents 95d2ec4 + a4a1491 commit 6fc525b
Show file tree
Hide file tree
Showing 40 changed files with 77 additions and 1,932 deletions.
81 changes: 60 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,88 @@
language: php

php:
- 5.6
- 7.0
- 7.1
- hhvm
sudo: false

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

branches:
only:
- master
- develop
- /^v\d+\.\d+\.\d+$/

matrix:
fast_finish: true
include:
- php: 5.6
env: SYMFONY=2.3.*
env:
- SYMFONY=2.3.*
- PHPSTAN=false
- php: 5.6
env: SYMFONY=2.7.*
env:
- SYMFONY=2.7.*
- PHPSTAN=false
- php: 5.6
env: SYMFONY=2.8.*
env:
- SYMFONY=2.8.*
- PHPSTAN=false
- php: 5.6
env: SYMFONY=3.0.*
- php: 7.0
env: SYMFONY=3.0.*
env:
- SYMFONY=3.0.*
- PHPSTAN=false
- php: 7.0
env: SYMFONY=3.2.*
env:
- SYMFONY=3.0.*
- PHPSTAN=true
- php: 7.1
env: SYMFONY=3.2.*
allow_failures:
- php: hhvm

cache:
directories:
- vendor/
- $HOME/.composer/cache
env:
- SYMFONY=3.0.*
- PHPSTAN=true
- php: 5.6
env:
- SYMFONY=3.2.*
- PHPSTAN=false
- php: 7.1
env:
- SYMFONY=3.2.*
- PHPSTAN=true
- php: 7.2
env:
- SYMFONY=3.2.*
- PHPSTAN=true
- php: 5.6
env:
- SYMFONY=3.4.*
- PHPSTAN=false
- php: 7.1
env:
- SYMFONY=3.4.*
- PHPSTAN=true
- php: 7.2
env:
- SYMFONY=3.4.*
- PHPSTAN=true
- php: 7.1
env:
- SYMFONY=^4
- PHPSTAN=true
- php: 7.2
env:
- SYMFONY=^4
- PHPSTAN=true

before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
- phpenv config-rm xdebug.ini || echo "XDebug disabled."
- composer self-update
- if [ "$SYMFONY" != "" ]; then composer require "symfony/framework-bundle:$SYMFONY" --no-update; fi;

install:
- cp phpunit.xml.dist phpunit.xml
- composer install
- if [[ ${PHPSTAN} == "true" ]]; then composer require --dev phpstan/phpstan; fi

script:
- vendor/phpunit/phpunit/phpunit -c phpunit.xml Tests/
- if [[ ${PHPSTAN} == "true" ]]; then vendor/bin/phpstan analyse -l 7 -c phpstan.neon DependencyInjection/ XsolveModelFactoryBundle.php ; fi
9 changes: 0 additions & 9 deletions ModelFactory/Exception/ModelFactoryException.php

This file was deleted.

72 changes: 0 additions & 72 deletions ModelFactory/ModelFactory.php

This file was deleted.

11 changes: 0 additions & 11 deletions ModelFactory/ModelFactoryAwareModelInterface.php

This file was deleted.

25 changes: 0 additions & 25 deletions ModelFactory/ModelFactoryAwareModelTrait.php

This file was deleted.

39 changes: 0 additions & 39 deletions ModelFactory/ModelFactoryInterface.php

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6fc525b

Please sign in to comment.