newsomc / transit-php

Transit for PHP
http://transit-format.org
Apache License 2.0
0 stars 0 forks source link

Common dev environment for PHP #2

Open DarrenN opened 10 years ago

DarrenN commented 10 years ago

We should create a super lightweight vagrant vm for working on this so we have a common PHP, default extensions and testing environment to work with. Doesn't need to be giant, just a simple Ubuntu container. This will prevent my screwy OSX version from conflicting with yours, etc.

Decisions

DarrenN commented 10 years ago

This looks promising: https://puphpet.com/

newsomc commented 10 years ago

On Sat, Sep 6, 2014 at 8:58 AM, Darren_N notifications@github.com wrote:

We should create a super lightweight vagrant vm for working on this so we have a common PHP, default extensions and testing environment to work with. Doesn't need to be giant, just a simple Ubuntu container. This will prevent my screwy OSX version from conflicting with yours, etc. Decisions

  • We should standardize on a baseline version of PHP. 5.3? 5.4? 5.5? 5.6? - php.net is infuriating in that I cannot find a page with clear directives on which versions are still supported. Right now it looks like 5.3 is the lowest supported version and I can say from experience that many of my freelance projects are on 5.3 (we just recently were allowed to get off 5.2 which is crazy town.) Should we test against multiple versions?

Yeah totally - multiple versions should be good with Travis.

  • PHPUnit for testing?

I think Travis will default to PHPUnit, yessir.

  • HHVM - should we support in light of difficulties with MessagePack? Maybe only provide JSON support on HHVM? (Separate discussion?)

I think it needs a bit more exploration, but we could probably just start with JSON. That's a smart move.

— Reply to this email directly or view it on GitHub https://github.com/newsomc/transit-php/issues/2.

newsomc commented 10 years ago

I would suggest Ubuntu Trusty only because that's what we've used at SFX.

On Sat, Sep 6, 2014 at 10:13 AM, clint newsom hcnewsom@gmail.com wrote:

Is this basically, configure and download your VM?

We can run our tests under different versions of PHP:

http://docs.travis-ci.com/user/languages/php/

...with Travis we can also distinguish differing OS:

http://docs.travis-ci.com/user/multi-os/

We should def make a shared VM for this project.

On Sat, Sep 6, 2014 at 10:07 AM, Darren_N notifications@github.com wrote:

This looks promising: https://puphpet.com/

— Reply to this email directly or view it on GitHub https://github.com/newsomc/transit-php/issues/2#issuecomment-54713182.

newsomc commented 10 years ago

Is this basically, configure and download your VM?

We can run our tests under different versions of PHP:

http://docs.travis-ci.com/user/languages/php/

...with Travis we can also distinguish differing OS:

http://docs.travis-ci.com/user/multi-os/

We should def make a shared VM for this project.

On Sat, Sep 6, 2014 at 10:07 AM, Darren_N notifications@github.com wrote:

This looks promising: https://puphpet.com/

— Reply to this email directly or view it on GitHub https://github.com/newsomc/transit-php/issues/2#issuecomment-54713182.

DarrenN commented 10 years ago

Oh snap I need To checkout Travis

++ Darren

On Sep 6, 2014, at 12:22 PM, Clint Newsom notifications@github.com wrote:

Is this basically, configure and download your VM?

We can run our tests under different versions of PHP:

http://docs.travis-ci.com/user/languages/php/

...with Travis we can also distinguish differing OS:

http://docs.travis-ci.com/user/multi-os/

We should def make a shared VM for this project.

On Sat, Sep 6, 2014 at 10:07 AM, Darren_N notifications@github.com wrote:

This looks promising: https://puphpet.com/

\ Reply to this email directly or view it on GitHub https://github.com/newsomc/transit-php/issues/2#issuecomment-54713182.

\ Reply to this email directly or view it on GitHub.