Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12259

Too many redundant tests are run on Travis

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.13-RC1, 3.1.0-b1
    • 3.0.12, 3.1.0-a3
    • Test Suite
    • None

      Currently we're running 18 tests per commit. Each test takes about 20 minutes.

      Travis only allows a limited number of simultaneous builds (and we already have many more than they typically allow for free). This means you may need to wait several hours for tests to catch up to your PR.

      Our matrix right now tests 5.3.3, 5.3, 5.4, 5.5, 5.6, hhvm * mysql, mariadb, and postgresql.

      We really only need to test each PHP version on ONE DB (mysql), then test other DB types once on one PHP version.

      Other than PHP bugs, there should be no difference between running the postgres or mariadb tests once versus all PHP versions (the DB versions should all be the same for every PHP version).

      Doing this means we can reduce our builds from 18 to 8 and we should not be adversely affected by it.

            EXreaction EXreaction [X] (Inactive)
            EXreaction EXreaction [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: