Travis matrix support

#1

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