zeromq / php-zmq

ZeroMQ for PHP
http://pecl.php.net/zmq
Other
551 stars 119 forks source link

Tweak the Travis build system #159

Closed phuedx closed 8 years ago

phuedx commented 9 years ago

Tweak might not be the correct word…

Building php-zmq on Travis involves downloading pre-compiled dependencies from a separate repository, which, to make matters worse, is maintained by someone else. Moreover, the script used to pre-build those dependencies produces slightly different results than the script in the php-zmq repository.

This PR aims to reduce the complexity of the build by building the dependencies as part of the build process so that the separate repository can be deprecated immediately – and deleted! – and leverage some of Travis's newer features in order to regain lost build time.

phuedx commented 9 years ago

I've seen my fork build in as little as 3 minutes (with a warm cache).

screen shot 2015-07-22 at 13 52 44

phuedx commented 9 years ago

308a31b includes the appropriate cache directive in .travis.yml but it's disabled. It looks like the current cache is spoiled so it'll need to be cleared.