Skip to content

[5.5] Fix travis CI error#20329

Merged
taylorotwell merged 4 commits intolaravel:masterfrom
fernandobandeira:patch-1
Jul 31, 2017
Merged

[5.5] Fix travis CI error#20329
taylorotwell merged 4 commits intolaravel:masterfrom
fernandobandeira:patch-1

Conversation

@fernandobandeira
Copy link
Copy Markdown
Contributor

@fernandobandeira fernandobandeira commented Jul 30, 2017

As comment on #20258 (comment) this fixes the error on travisCI, I've sent a separate PR to fix the other internal count error for the 5.4 branch #20330.

Those 14(5.4)/22(5.5) count errors should be fixed when mockery/mockery#771 gets merged,

Comment thread .travis.yml Outdated

before_install:
- phpenv config-rm xdebug.ini
- if [[ $TRAVIS_PHP_VERSION != 7.2 ]] ; then phpenv config-rm xdebug.ini; fi
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is brittle with time. We should check if that config exists, rather than a switch on the php version.

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.

@GrahamCampbell 👍 changed it

@taylorotwell
Copy link
Copy Markdown
Member

What is all this xdebug garbage? I still don't understand why it is even there AT ALL?

@fernandobandeira
Copy link
Copy Markdown
Contributor Author

It's there to disable xdebug when testing our builds, since xdebug makes the testing proccess slower we remove the config file before starting the build to disable it, however some PHP versions aren't supported by xdebug (like 7.2 for example) thus there's no file to be removed.

@taylorotwell
Copy link
Copy Markdown
Member

But it's making our tests a lot slower having this line there because the builds end up not running at all every time something with PHP changes.

@taylorotwell taylorotwell merged commit 81f77dc into laravel:master Jul 31, 2017
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.

3 participants