# Travis matrix support

**URL:** https://travis-ci.community/t/travis-matrix-support/2416
**Category:** Feature Requests
**Created:** [February 21, 2019, 9:59pm UTC](https://travis-ci.community/t/travis-matrix-support/2416 "2019-02-21T21:59:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kgrzadziel](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kgrzadziel/32/1456_2.png) [@kgrzadziel](https://travis-ci.community/u/kgrzadziel)
#### Post date: [February 21, 2019, 9:59pm UTC](https://travis-ci.community/t/travis-matrix-support/2416/1 "2019-02-21T21:59:49Z")

</div>

Hi there,

Is there any possibility to create a two-dimensional matrix using Travis config file? Let’s say I have two main parameters for my tests - lang and test suite name. I would like to avoid multiplying all the parameters in my config like the following:

env:

- SUITE=test\_suite1.py LANG=lang1
- SUITE=test\_suite2.py LANG=lang1
- SUITE=test\_suite3.py LANG=lang1
- SUITE=test\_suite1.py LANG=lang2
- SUITE=test\_suite2.py LANG=lang2
- SUITE=test\_suite3.py LANG=lang2
- SUITE=test\_suite1.py LANG=lang3
- SUITE=test\_suite2.py LANG=lang3
- SUITE=test\_suite3.py LANG=lang3

Is there any possibility to create a config which could handle such matrix? e.g.

- SUITE=test\_suite1.py

- SUITE=test\_suite2.py

- SUITE=test\_suite3.py

- LANG=lang1.py

- LANG=lang2.py

- LANG=lang3.py

And then mix them any-to-any?

Regards,  
kamil

---

<div class="post-metadata">

### Author: ![jayvdb](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jayvdb/32/1966_2.png) [@jayvdb](https://travis-ci.community/u/jayvdb)
#### Post date: [July 19, 2019, 4:43am UTC](https://travis-ci.community/t/travis-matrix-support/2416/2 "2019-07-19T04:43:56Z")

</div>

This appears to be the same feature requested in [Support multiple env: (environment variables -- based) axes via a list of lists](https://travis-ci.community/t/support-multiple-env-environment-variables-based-axes-via-a-list-of-lists/963)
