From da2f0668e0bf085af5803011b5d6613cb9b73fdc Mon Sep 17 00:00:00 2001 From: Ceeram Date: Mon, 8 Apr 2013 11:24:23 +0200 Subject: [PATCH] Replace node.js with lighthttpd to avoid socket exceptions --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index d75ab91e0..5283442c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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