Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
* Ignore package index
* Install pycparser on Windows ci
  • Loading branch information
amos402 committed Jul 30, 2020
commit 838dfc2f3d6767293c9196be7e9817426fd502ce
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ init:
install:
- python -m pip install -U pip
- pip install --upgrade -r requirements.txt --quiet
- pip install install pycparser --quiet
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, apparently it's wrong, never thought it works.😂
This line is due to requirements.txt declared won't pycparser be install on windows, but setup process need it.


# Install OpenCover. Can't put on `packages.config`, not Mono compatible
- .\tools\nuget\nuget.exe install OpenCover -OutputDirectory packages -Verbosity quiet
Expand All @@ -51,7 +52,7 @@ build_script:
- coverage run setup.py bdist_wheel %BUILD_OPTS%

test_script:
- pip install --find-links=.\dist\ pythonnet
- pip install --no-index --find-links=.\dist\ pythonnet
- ps: .\ci\appveyor_run_tests.ps1

on_finish:
Expand Down