Browse Source

Merge pull request #1222 from ceeram/2.3-travisnode

Replace node.js with lighthttpd to avoid socket exceptions
Mark Story 13 years ago
parent
commit
0e5b00fbc2
1 changed files with 1 additions and 5 deletions
  1. 1 5
      .travis.yml

+ 1 - 5
.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