mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #1222 from ceeram/2.3-travisnode
Replace node.js with lighthttpd to avoid socket exceptions
This commit is contained in:
commit
0e5b00fbc2
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue