Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Debug AppVeyor build issues #307

Closed
wants to merge 1 commit into from
Closed

Debug AppVeyor build issues #307

wants to merge 1 commit into from

Conversation

kyamagu
Copy link
Owner

@kyamagu kyamagu commented Jan 5, 2017

This is only for debugging the AppVeyor CI build issue around chocolatey. Never merge.

@kyamagu kyamagu self-assigned this Jan 5, 2017
@kyamagu
Copy link
Owner Author

kyamagu commented Jan 5, 2017

@amroamroamro Strangely, AppVeyor build succeeds with:

if "%DOXY%" == "yes" ( choco install doxygen.portable -y )

but fails with:

if "%DOXY%" == "yes" ( choco install doxygen.portable -y > nul )

The error is always Command exited with code 404. I don't understand why this happens, as nul redirection works in the other place. Do you have any clue?

@amroamroamro
Copy link
Collaborator

amroamroamro commented Jan 5, 2017

hmm I don't know, perhaps we can try to run that line as a Powershell command instead:

  - ps: if ($env:DOXY -match "yes") { choco install doxygen.portable -y > $null }

If it's an intermittent issue with the server, I found this: appveyor/ci#418
It's supposed to run a command with a couple of retries, similar to travis_retry.

Otherwise we can just disable Doxygen stuff for now. I think you can override the environment variable from the AppVeyor UI configuration without having to commit changes to the file.
https://ci.appveyor.com/project/kyamagu/mexopencv/settings/environment
Select "Environment variables > Add variable", create a DOXY environment variable and set its value to no

According to the docs:

Environment variables defined on UI are getting merged with those ones defined in appveyor.yml. Variable values with the same names are getting overridden with values from UI.

@amroamroamro
Copy link
Collaborator

or just remove the null redirection if its the real issue here :)

@kyamagu
Copy link
Owner Author

kyamagu commented Jan 5, 2017

@amroamroamro For now, I just disabled doxygen with DOXY=no in the AppVeyor. This looks very weird...

@kyamagu kyamagu closed this Mar 21, 2017
@amroamroamro amroamroamro deleted the debug_appveyor branch March 27, 2017 06:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants