Thanks to visit codestin.com
Credit goes to github.com

Skip to content

improve the Travis CI configuration#81

Merged
suncat2000 merged 1 commit into
suncat2000:masterfrom
xabbuh:patch-1
Jan 19, 2016
Merged

improve the Travis CI configuration#81
suncat2000 merged 1 commit into
suncat2000:masterfrom
xabbuh:patch-1

Conversation

@xabbuh
Copy link
Copy Markdown
Contributor

@xabbuh xabbuh commented Dec 2, 2015

  • use the faster container based infrastructure
  • preserve the Composer cache between builds
  • add jobs for PHP 5.5, 5.6, 7.0 and HHVM
  • drop jobs for unsupported Symfony versions (the bundle actually
    requires version 2.3 or higher of the FrameworkBundle)
  • drop job with Symfony 2.4 which reached its end of life a long time
    ago
  • add a job with Symfony 2.7
  • reduce the size of the build matrix by running tests with different
    Symfony versions only with PHP 5.6
  • don't generate code coverage report in every job

@xabbuh xabbuh force-pushed the patch-1 branch 4 times, most recently from 75e051d to 228b312 Compare December 2, 2015 09:41
Comment thread .travis.yml
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loading Xdebug when not needed only slows down tests (HHVM doesn't provide the Xdebug extension).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newer versions of the Routing component can optionally use the ExpressionLanguage component for more advanced conditions. However, as that feature is optional the ExpressionLanguage component is not installed when executing the tests and PHPUnit's mock library fails to mock methods where one of the arguments' type hint refers to a non-existing class or interface.

* use the faster container based infrastructure
* preserve the Composer cache between builds
* add jobs for PHP 5.5, 5.6, 7.0 and HHVM
* drop jobs for unsupported Symfony versions (the bundle actually
  requires version 2.3 or higher of the FrameworkBundle)
* drop job with Symfony 2.4 which reached its end of life a long time
  ago
* add a job with Symfony 2.7
* reduce the size of the build matrix by running tests with different
  Symfony versions only with PHP 5.6
* don't generate code coverage report in every job
* allow PHPUnit 5 (PHPUnit 4 doesn't support all features of PHP 7)
* use the required PHPUnit to execute tests
suncat2000 added a commit that referenced this pull request Jan 19, 2016
improve the Travis CI configuration
@suncat2000 suncat2000 merged commit d800c75 into suncat2000:master Jan 19, 2016
@xabbuh xabbuh deleted the patch-1 branch January 19, 2016 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants