Here's how I think this should work:

  • We have a list of old releases of Panopoly that we wish to test, for example: 1.0-rc3 and 1.0-rc5 (or whatever seems reasonable but not too many so the tests run forever)
  • After the normal tests, for each old version, we:
    1. Download the official release and install it
    2. Copy the settings.php into the current version
    3. Run "drush updatedb"
    4. Launch the webserver
    5. Run the current Behat tests against it

This won't necessarily solve all upgrade problems, but it will hopefully catch some!

Comments

dsnopek’s picture

Status: Active » Fixed

It turns out that Travis-CI offers some amazing parallel build functionality, so we aren't really limited by the number of versions we attempt to upgrade test from! Each one spawns a new build that runs at the same time, rather than running them in series.

I've committed this change in 685c931.

However, this has revealed upgrade issues when upgrading from 1.0-rc4 or lower:

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.