A configuration file for tox

Amir Rachum's Avatar

Amir Rachum

01 Aug, 2015 01:26 PM

Hi,

In our project we use tox to run Python tests on different environments. We also use Travis-CI to run builds on Linux machines.
In general we have a really simple build - just pip install tox and run tox. However, I couldn't for the life of me figure out how to do this in appveyor.yml. Can you help?

Here's our .travis.yml file:

sudo: false
language: python
install: pip install tox --use-mirrors
script: tox
  1. Support Staff 1 Posted by Feodor Fitsner on 01 Aug, 2015 07:39 PM

    Feodor Fitsner's Avatar

    Looks like this is what you need: https://github.com/cloudify-cosmo/appveyor-utils

  2. 2 Posted by Chris P on 24 Apr, 2017 03:46 PM

    Chris P's Avatar

    Thanks! Is this still the recommended way to run Tox on AppVeyor?

  3. Support Staff 3 Posted by Ilya Finkelshte... on 25 Apr, 2017 06:17 PM

    Ilya Finkelshteyn's Avatar

    Hi Chris, we in AppVeyor are mostly .NET/C# shop and can do a lot of recommendations in that area. For Python though we rely on community. With that being said I believe this is still most valid approach.

    Ilya.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac