travis-ci / beta-features

The perfect place to leave feedback and comments on newly released Beta Features.
56 stars 68 forks source link

explicit matrix for stages #18

Closed dotnwat closed 7 years ago

dotnwat commented 7 years ago

I would like to do something like the following where the prepare stage runs with default setting, and the test stage runs with a matrix of explicitly specified configurations. this doesn't work, but i'm not sure how to achieve what i'm looking for. thanks.

  include:
    - stage: prepare
      script:
        - echo "prepare"
    - stage: test
      matrix:
        include:
          - os: linux
            compiler: gcc
          - os: linux
            env: DOCKER_IMAGE=centos:7
          - os: linux
            env: DOCKER_IMAGE=fedora:25
          - os: linux
            env: DOCKER_IMAGE=fedora:24
      script:
        - echo "test with ${DOCKER_IMAGE}"
joshk commented 7 years ago

Hi @noahdesu

Can you please use https://github.com/travis-ci/travis-ci/issues for all feature requests.

Have a great day