Skip to content

Instantly share code, notes, and snippets.

@dmongeau
dmongeau / .travis.yml
Last active April 27, 2022 10:16
Example of travis configuration for Laravel Package testing (5.1 to 5.8) on multiple versions of PHP (5.5 to 7.3) with code coverage (coveralls)
language: php
cache:
directories:
- $HOME/.cache/pip
- $HOME/.composer/cache/files
php:
- 5.6
- 7.0
@StefanieD
StefanieD / Readme.md
Created July 3, 2015 15:17
Install and use Supervisord with AWS Elastic Beanstalk, Symfony 2 and RabbitMq Bundle
  • Place the supervisord.conf under .ebextensions/supervisor/

  • Place the supervisor.config under .ebextensions/

  • Place the data_import_consumer.conf under .ebextensions/supervisor/

<?php
 
set_time_limit(0);
 
/*
 * Okay, the project is LIFE.php so we want to skip all the boring pre-life part.
 * Thanks to php, we can just do a 5 billion years sleep.
 *
 */
define('YEAR',3600*24*365);