Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd issue occurs in Circle CI #18

Open
ateller-pica9 opened this issue Nov 5, 2014 · 1 comment
Open

Odd issue occurs in Circle CI #18

ateller-pica9 opened this issue Nov 5, 2014 · 1 comment

Comments

@ateller-pica9
Copy link

Hi, hopefully you can help here. I use Sauce labs and CircleCI as continuous integration. I'm having a weird issue, allow me to describe...

When I use composer.json to add "verkkokauppacom/parallel-phpunit": "dev-master"
on my local Ubuntu machine, composer takes care of everything seemingly nice, as I witness that the folder verkkokauppacom/parallel-phpunit/ gets fully-populated with the expected subdirectories (bin, example, tests) and additional files .git, composer.json, and release, and README.md

These files, just FYI, are part of a project that I also track in github, and when I push files to my remote repository, the directory verkkokauppacom/parallel-phpunit/ is empty.

Here is what occurs when composer installs the files:
`Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file

  • Installing verkkokauppacom/parallel-phpunit (dev-master 84f2cea)
    Cloning 84f2cea

    Skipped installation of bin bin/parallel-phpunit for package verkkokauppacom/parallel-phpunit: name conflicts with an existing file
    Generating autoload files`

If I remove the files from my local machine completely, and then push up the difference to my remote, and tell CircleCI to use composer to get the files, all is good again.

Any ideas?

@matt-allan
Copy link

These files, just FYI, are part of a project that I also track in github

I assume you mean you are versioning /vendor? If so, the message you are receiving is because the file verkkokauppacom/parallel-phpunit/bin/parallel-phpunit is copied to /vendor/bin/parallel-phpunit. As you already have a file there it skips the copy instead of overwriting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants