Merge pull request #1222 from ceeram/2.3-travisnode

Replace node.js with lighthttpd to avoid socket exceptions
This commit is contained in:
Mark Story 2013-04-08 06:39:39 -07:00
commit 0e5b00fbc2

View file

@ -24,11 +24,7 @@ before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE SCHEMA test2;' -U postgres -d cakephp_test; fi"
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE SCHEMA test3;' -U postgres -d cakephp_test; fi"
- chmod -R 777 ./app/tmp
- echo "var net = require('net');
var server = net.createServer();
server.listen(80, 'localhost');
console.log('TCP server listening on port 80 at localhost.');" > app/tmp/socket.js
- sudo node ./app/tmp/socket.js &
- sudo apt-get install lighttpd
- pear channel-discover pear.cakephp.org
- pear install --alldeps cakephp/CakePHP_CodeSniffer
- phpenv rehash