Skip to content

Travis related improvements - #654

Merged
php-pulls merged 3 commits into
php:PHP-5.5from
Tyrael:more_travis
Apr 29, 2014
Merged

php-pulls merged 3 commits into
php:PHP-5.5from
Tyrael:more_travis

Conversation

@Tyrael

@Tyrael Tyrael commented Apr 27, 2014

Copy link
Copy Markdown
Contributor

After the recent discussion on the mailing list about our current travis setup, I've did some minor adjustments.
I've

  • added --enable-debug to configure (and had to mark a leaking test as XFAIL)
  • added an axis for ts/nts builds, so we will have two vm doing two jobs for each build.
  • moved the REPORT_EXIT_STATUS=1 to the global env section

@smalyshev

Copy link
Copy Markdown
Contributor

This makes Travis only test in debug mode. I think it may be better to run both.

@Tyrael

Tyrael commented Apr 28, 2014

Copy link
Copy Markdown
Contributor Author

makes sense, I've made that also a build parameter, but this means we will use 4 jobs, instead of 2, but I think it is reasonable.

@php-pulls
php-pulls merged commit ea1d426 into php:PHP-5.5 Apr 29, 2014
@nikic

nikic commented Apr 29, 2014

Copy link
Copy Markdown
Member

Do we really need to run 30 minute jobs for 4 different configs across 3 branches for every push? This seems like a very excessive use of Travis. We don't really gain much by running the full ts/dbg matrix here, imho.

@smalyshev

Copy link
Copy Markdown
Contributor

Maybe on pulls, but not on regular builds? Not sure if Travis allows this.

@Tyrael

Tyrael commented Apr 29, 2014

Copy link
Copy Markdown
Contributor Author

the TRAVIS_PULL_REQUEST environment variable could be used to shortcut the compilation step, so that we only do the heavy lifting for pull requests but imo that would be a bit awkward workflow.
should I revert the merge until you guys can figure out whether or not we want this, or maybe asking the travis guys if this would be ok for their TOS/AUP?

@nikic

nikic commented May 2, 2014

Copy link
Copy Markdown
Member

I think it should be enough to do a zts-dbg build and an nts-ndbg build. nts-ndbg being the standard production build and zts-dbg being the "nobody forgot a TSRMLS_CC and there are no debug warnings" build. The other combinations don't really offer much additionally. If those two work, then zts-ndbg and nts-dbg will pretty likely work as well.

@php-pulls

Copy link
Copy Markdown

Debug builds can help us notice leaks as the zend mm warning will make the
test fail because not matching the expected output (we have a couple of
those in zts debug build atm).

I'm not against the idea just making sure we are on the same page.
2014.05.02. 12:34, "Nikita Popov" notifications@github.com ezt írta:

I think it should be enough to do a zts-dbg build and an nts-ndbg build.
nts-ndbg being the standard production build and zts-dbg being the "nobody
forgot a TSRMLS_CC and there are no debug warnings" build. The other
combinations don't really offer much additionally. If those two work, then
zts-ndbg and nts-dbg will pretty likely work as well.

—
Reply to this email directly or view it on GitHub.

@nikic

nikic commented May 2, 2014

Copy link
Copy Markdown
Member

Yes. Which is why I suggest doing the zts-dbg and nts-ndbg builds, but not nts-dbg and zts-ndbg.

@Tyrael

Tyrael commented May 2, 2014

Copy link
Copy Markdown
Contributor Author

Ok, fine with me.
You can remove the other two combinations from .travis.yml or I can do it
later today.
2014.05.02. 12:52, "Nikita Popov" notifications@github.com ezt írta:

Yes. Which is why I suggest doing the zts-dbg and nts-ndbg builds, but
not nts-dbg and zts-ndbg.

—

Reply to this email directly or view it on GitHub.

Tyrael added a commit that referenced this pull request May 3, 2014
* PHP-5.5:
  only build and test nts non-debug and ts debug builds as discussed at #654
Tyrael added a commit that referenced this pull request May 3, 2014
* PHP-5.5:
  only build and test nts non-debug and ts debug builds as discussed at #654
php-pulls pushed a commit that referenced this pull request May 5, 2014
…_56_backport

* origin/PHP-5.6: (28 commits)
  /me blushes, really hard
  only build and test nts non-debug and ts debug builds as discussed at #654
  Fix mysqli build when building against libmysqlclient.
  Fix author name on the #63228 patch.
  Fixed bug #67169: []= after_array_splice incorrect
  Revert "show leaks in their own group" using valgrind would be a bit too much for travis I guess.
  show leaks in their own group
  Use the right path for the suggested PHP invocation in ext_skel.
  Changed to more understandable NEWS message
  one heading is enough
  add new NEWS block for alpha3
  XFAIL the leaking multibyte tests, we should really get to the bottom of this
  Fixed numbering in UPGRADING file
  Updated NEWS for fixed phpdbg issue #85
  Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
  Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
  add missing NEWS entry to the correct release where it was added
  5.5.12 was released yesterday
  add missing NEWS entry to the correct release where it was added
  Updated NEWS entry for phpdbg
  ...

Conflicts:
	ext/curl/interface.c
php-pulls pushed a commit that referenced this pull request May 5, 2014
…into str_size_and_int64

* origin/str_size_and_int64_56_backport: (32 commits)
  fixed ZEND_DEBUG usage
  updated libmagic.patch
  added missing stdint header, bug #66907
  fix macros
  /me blushes, really hard
  only build and test nts non-debug and ts debug builds as discussed at #654
  Fix mysqli build when building against libmysqlclient.
  Fix author name on the #63228 patch.
  Fixed bug #67169: []= after_array_splice incorrect
  Revert "show leaks in their own group" using valgrind would be a bit too much for travis I guess.
  show leaks in their own group
  Use the right path for the suggested PHP invocation in ext_skel.
  Changed to more understandable NEWS message
  one heading is enough
  add new NEWS block for alpha3
  XFAIL the leaking multibyte tests, we should really get to the bottom of this
  Fixed numbering in UPGRADING file
  Updated NEWS for fixed phpdbg issue #85
  Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
  Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
  ...
php-pulls pushed a commit to php/pecl-database-interbase that referenced this pull request Apr 24, 2019
…into str_size_and_int64

* origin/str_size_and_int64_56_backport: (32 commits)
  fixed ZEND_DEBUG usage
  updated libmagic.patch
  added missing stdint header, bug #66907
  fix macros
  /me blushes, really hard
  only build and test nts non-debug and ts debug builds as discussed at php/php-src#654
  Fix mysqli build when building against libmysqlclient.
  Fix author name on the #63228 patch.
  Fixed bug #67169: []= after_array_splice incorrect
  Revert "show leaks in their own group" using valgrind would be a bit too much for travis I guess.
  show leaks in their own group
  Use the right path for the suggested PHP invocation in ext_skel.
  Changed to more understandable NEWS message
  one heading is enough
  add new NEWS block for alpha3
  XFAIL the leaking multibyte tests, we should really get to the bottom of this
  Fixed numbering in UPGRADING file
  Updated NEWS for fixed phpdbg issue #85
  Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
  Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
  ...
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.

4 participants