david8640 / RestaurantSignaturesSoftware

4 stars 1 forks source link

Setup automatic building solution #5

Closed david8640 closed 10 years ago

david8640 commented 11 years ago

1- Déterminer le système de build automatique qui doit être mise en place. 2- Mettre en place le système.

david8640 commented 10 years ago

Set it up (basic PHP hello world with auto-build)

aassaly commented 10 years ago

@david8640 I need admin access to the repository for Travis to connect to our github repository via my account.: https://travis-ci.org/first_sync

aassaly commented 10 years ago

I just wanted to add that the instructions are super simple. 3 steps:

  1. sync travis with github and enable the repo to have automatic building.
  2. commit + push a file from Travis to git
  3. every future commit+push should not automatically build.
david8640 commented 10 years ago

You can connect with my git account.

Merci et bonne journée.

David Fortin

On 2013-10-18, at 3:14 PM, aassaly notifications@github.com wrote:

I just wanted to add that the instructions are super simple. 3 steps:

sync travis with github and enable the repo to have automatic building. commit + push a file from Travis to git every future commit+push should not automatically build. — Reply to this email directly or view it on GitHub.

aassaly commented 10 years ago

@david8640

I have set up travis. It now automatcially builds and tries to run PHPunit tests upon every commit.

Question: should we add a folder to contain all phpunit test files? If so I need to modify the travis.yml file to point to that directory. Otherwise this is resolved.

david8640 commented 10 years ago

Yes. Did the travis run without errors?

Le 2013-10-18 à 03:53 PM, "aassaly" notifications@github.com a écrit :

@david8640

I have set up travis. It now automatcially builds and tries to run PHPunit tests upon every commit.

Question: should we add a folder to contain all phpunit test files? If so I need to modify the travis.yml file to point to that directory. Otherwise this is resolved.

— Reply to this email directly or view it on GitHub.

aassaly commented 10 years ago

I believe Travis is working properly, however the last two commits failed. I'm assuming they failed because there aren't any PHPunit tests for it to run. What do you think?

Andrew Assaly - 5360708

On Friday, October 18, 2013 at 4:03 PM, david8640 wrote:

Yes. Did the travis run without errors?

Le 2013-10-18 à 03:53 PM, "aassaly" <notifications@github.com (mailto:notifications@github.com)> a écrit :

@david8640

I have set up travis. It now automatcially builds and tries to run PHPunit tests upon every commit.

Question: should we add a folder to contain all phpunit test files? If so I need to modify the travis.yml file to point to that directory. Otherwise this is resolved.


Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub (https://github.com/david8640/RestaurantSignaturesSoftware/issues/5#issuecomment-26625519).

david8640 commented 10 years ago

No It's suppose to work even if there is no unit test. So it's not working.

On 2013-10-18, at 4:12 PM, aassaly notifications@github.com wrote:

I believe Travis is working properly, however the last two commits failed. I'm assuming they failed because there aren't any PHPunit tests for it to run. What do you think?

Andrew Assaly - 5360708

On Friday, October 18, 2013 at 4:03 PM, david8640 wrote:

Yes. Did the travis run without errors?

Le 2013-10-18 à 03:53 PM, "aassaly" <notifications@github.com (mailto:notifications@github.com)> a écrit :

@david8640

I have set up travis. It now automatcially builds and tries to run PHPunit tests upon every commit.

Question: should we add a folder to contain all phpunit test files? If so I need to modify the travis.yml file to point to that directory. Otherwise this is resolved.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub (https://github.com/david8640/RestaurantSignaturesSoftware/issues/5#issuecomment-26625519).

— Reply to this email directly or view it on GitHub.

aassaly commented 10 years ago

Do you think this has anything to do with the .htaccess file?

AddHandler x-mapp-php6 .php vs #AddHandler x-mapp-php6 .php

david8640 commented 10 years ago

No I don't think so.

Merci et bonne journée.

David Fortin

On 2013-10-18, at 4:32 PM, aassaly notifications@github.com wrote:

Do you think this has anything to do with the .htaccess file?

AddHandler x-mapp-php6 .php vs #AddHandler x-mapp-php6 .php

— Reply to this email directly or view it on GitHub.

david8640 commented 10 years ago

I think that the file must not be configure properly.

Merci et bonne journée.

David Fortin

On 2013-10-18, at 4:33 PM, David Fortin david_8640@hotmail.com wrote:

No I don't think so.

Merci et bonne journée.

David Fortin

On 2013-10-18, at 4:32 PM, aassaly notifications@github.com wrote:

Do you think this has anything to do with the .htaccess file?

AddHandler x-mapp-php6 .php vs #AddHandler x-mapp-php6 .php

— Reply to this email directly or view it on GitHub.

aassaly commented 10 years ago

@david8640 @omarhijazi22

Travis Up and running. Any php test files placed within the Code/application/phpunit/........ directory will be executed. I will update the Wiki to properly document exactly what needs to happen for tests to work (both on and off of our local environments).