On 21 September 2014 22:47, Ryan Gonzalez <rymg19@gmail.com> wrote:
> I'm guessing the appveyor.yml file might look like this:
>
> install:
> - cinst python
> - cinst pip
> - pip install wheel
>
> build: off # It's Python; no building allowed!
>
> test_script:
> - py.test # or whatever to run tests
>
> deploy_script:
> - python setup.py sdist bdist_wheel upload
The one I'm working from (cookiecutter) is more complex - essentially
because it manually installs Python etc. I'd not seen cinst before,
but from a quick search I see that's chocolatey. So yes, something
like that. Can you specify which version of Python cinst installs?
You'd actually want to make sure you had all the versions of Python
you supported installed.
Also, you probably couldn't do the upload in deploy_script unless you
were willing to store your credentials in AppVeyor.
But essentially, it's not hard to set up, AFAICT.
Paul