Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9232207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:15:32+00:00 2026-06-18T06:15:32+00:00

In my current set up, my development server has a bunch of bare git

  • 0

In my current set up, my development server has a bunch of bare git repositories from which me and some other users push to. However, now, I’d like to integrate PHPUnit testing on the server itself.

My initial idea was to have a sub directory in each repo named tests, then have something like VisualPHPUnit run the tests so I can see the results through the server’s “website”. However, seeing as the remote repositories are bare, I can’t exactly tell VPHPU to look for the test directories — as they aren’t really there.

Is there a better way of doing things? I was thinking of maybe having another repository that would contain tests for all the projects and just making it not bare — but that goes against git standards and could possibly break stuff.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T06:15:34+00:00Added an answer on June 18, 2026 at 6:15 am

    I’d think you’d do better to setup Jenkins or QuickBuild. Jenkins is open-source, whereas QuickBuild is not. But QuickBuild does have a free version, and I’ve found it to be more reliable than the former. Both will allow you to checkout your source, run tests, and post the results. And over the long haul, it’ll allow you to do more, such as packaging your product for deployment.

    If you’re dead set on trying to make your current idea work, you’ll need a post-receive hook that will checkout the code somewhere, run your tests against the checkout, and post the results to a known location. You’ll need to think about a few things though. For instance, do you want to test every branch? Just a single one? The post-receive hook will tell you about all branches being updated, so you might need to filter if you only want to test master. Pro Git has some information on hooks and how to customize them.

    I’d avoid using a bare repository. You’ll have to deal with things like pushing into a bare repository, which is frowned upon. I think in the end, you’ll really want Jenkins or QuickBuild to help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is how our current php development solution is set up: Each developer work
I have just set up Redmine on my server with a project that has
Question: How do I push my local commits to my development server if that
How can I set up remote directories in Git where I can locally push
When I tried to add a new node to current replica set, the current
I tried using aegis -change_attributes to change the brief_description of my current change set
it should set the current character to next character. For example: while( *foo )
I'm wanting to set the current time i my database My column is a
Is it possible to set an UISlider as first responder and set its current
In C++, I can set the current locale like this: std::locale::global(std::locale(name)) But how can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.