Influence order of test runs/builds?

Right now I have this in my appveyor.yml:

image:
- Visual Studio 2015
- Visual Studio 2017
environment:
  matrix:
    - nodejs_version: "4"
    - nodejs_version: "6"

This currently means I get this execution order of tests:
VS15 node4, VS15 node6, VS17 node4, VS17 node6

Is there a way to influence this order somehow to e.g.
VS17 node6, VS15 node6, VS17 node4, VS15 node4
?

Jan

  1. You can use APPVEYOR_BUILD_WORKER_IMAGE environment variable to tweak it. See example below. image: section should be removed.

    environment:
      matrix:
        - nodejs_version: "6"
          APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
    
        - nodejs_version: "6"
          APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
    
        - nodejs_version: "4"
          APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
    
        - nodejs_version: "4"
          APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
    
  2. Ahh, I didn't remove image: in my testing and got a multiple of the tests I wanted to run - now I know why. Thanks!

  3. Tested and works. Thank you!

  4. Jan Pio closed this discussion on 15 Feb, 2018 04:03 PM.

Comments are currently closed for this discussion. You can start a new one.

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