Skip to content

Commit

Permalink
Make an all-mariadb run to confirm nothing breaks
Browse files Browse the repository at this point in the history
Just to verify moodlehq#134 more extensively.
  • Loading branch information
stronk7 committed Sep 11, 2020
1 parent 508d2d8 commit e22216f
Showing 1 changed file with 39 additions and 72 deletions.
111 changes: 39 additions & 72 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,81 +2,48 @@ language: bash
services: docker
fast_finish: true
env:
# Oracle jobs have been removed because there aren't public images anymore.
# phpunit
# PostgreSQL highest, lowest php supported
# We have set the "phpunit-full" to run against master
- "PHP=7.4 DB=pgsql GIT=master SUITE=phpunit-full"
- "PHP=7.2 DB=pgsql GIT=master SUITE=phpunit-full"
# Other dev branches, also "phpunit-full"
- "PHP=7.4 DB=pgsql GIT=MOODLE_310_STABLE SUITE=phpunit-full"
- "PHP=7.2 DB=pgsql GIT=MOODLE_310_STABLE SUITE=phpunit-full"
# Simpler "phpunit" for stables
- "PHP=7.4 DB=pgsql GIT=v3.9.1 SUITE=phpunit"
- "PHP=7.2 DB=pgsql GIT=v3.9.1 SUITE=phpunit"
- "PHP=7.4 DB=pgsql GIT=v3.8.4 SUITE=phpunit"
- "PHP=7.1 DB=pgsql GIT=v3.8.4 SUITE=phpunit"
- "PHP=7.3 DB=pgsql GIT=v3.7.2 SUITE=phpunit"
- "PHP=7.1 DB=pgsql GIT=v3.7.2 SUITE=phpunit"
- "PHP=7.2 DB=pgsql GIT=v3.5.8 SUITE=phpunit"
- "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=phpunit"
# Other databases, only highest php supported
- "PHP=7.4 DB=mssql GIT=v3.9.1 SUITE=phpunit"
- "PHP=7.4 DB=mssql GIT=v3.8.4 SUITE=phpunit"
- "PHP=7.3 DB=mssql GIT=v3.7.2 SUITE=phpunit"
- "PHP=7.2 DB=mssql GIT=v3.5.8 SUITE=phpunit"
- "PHP=7.4 DB=mysql GIT=v3.9.1 SUITE=phpunit"
- "PHP=7.4 DB=mysql GIT=v3.8.4 SUITE=phpunit"
- "PHP=7.3 DB=mysql GIT=v3.7.2 SUITE=phpunit"
- "PHP=7.2 DB=mysql GIT=v3.5.8 SUITE=phpunit"
# MariaDB, only lowest php supported
- "PHP=7.2 DB=mariadb GIT=v3.9.1 SUITE=phpunit"
- "PHP=7.1 DB=mariadb GIT=v3.8.4 SUITE=phpunit"
- "PHP=7.1 DB=mariadb GIT=v3.7.2 SUITE=phpunit"
- "PHP=7.0 DB=mariadb GIT=v3.5.8 SUITE=phpunit"
# Let's run all combinations of MariaDB.
- "PHP=7.4 DB=mariadb GIT=master SUITE=phpunit-full"
- "PHP=7.2 DB=mariadb GIT=master SUITE=phpunit-full"
- "PHP=7.4 DB=mariadb GIT=MOODLE_310_STABLE SUITE=phpunit-full"
- "PHP=7.2 DB=mariadb GIT=MOODLE_310_STABLE SUITE=phpunit-full"
- "PHP=7.4 DB=mariadb GIT=v3.9.2 SUITE=phpunit-full"
- "PHP=7.2 DB=mariadb GIT=v3.9.2 SUITE=phpunit-full"
- "PHP=7.4 DB=mariadb GIT=v3.8.5 SUITE=phpunit-full"
- "PHP=7.1 DB=mariadb GIT=v3.8.5 SUITE=phpunit-full"
- "PHP=7.3 DB=mariadb GIT=v3.7.8 SUITE=phpunit-full"
- "PHP=7.1 DB=mariadb GIT=v3.7.8 SUITE=phpunit-full"
- "PHP=7.2 DB=mariadb GIT=v3.5.14 SUITE=phpunit-full"
- "PHP=7.0 DB=mariadb GIT=v3.5.14 SUITE=phpunit-full"
# behat
# PostgreSQL highest, lowest (2 browsers)
- "PHP=7.4 DB=pgsql GIT=master SUITE=behat BROWSER=chrome"
- "PHP=7.4 DB=pgsql GIT=master SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=pgsql GIT=master SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=pgsql GIT=master SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=pgsql GIT=MOODLE_310_STABLE SUITE=behat BROWSER=chrome"
- "PHP=7.4 DB=pgsql GIT=MOODLE_310_STABLE SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=pgsql GIT=MOODLE_310_STABLE SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=pgsql GIT=MOODLE_310_STABLE SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=pgsql GIT=v3.9.1 SUITE=behat BROWSER=chrome"
- "PHP=7.4 DB=pgsql GIT=v3.9.1 SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=pgsql GIT=v3.9.1 SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=pgsql GIT=v3.9.1 SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=pgsql GIT=v3.8.4 SUITE=behat BROWSER=chrome"
- "PHP=7.4 DB=pgsql GIT=v3.8.4 SUITE=behat BROWSER=firefox"
- "PHP=7.1 DB=pgsql GIT=v3.8.4 SUITE=behat BROWSER=chrome"
- "PHP=7.1 DB=pgsql GIT=v3.8.4 SUITE=behat BROWSER=firefox"
- "PHP=7.3 DB=pgsql GIT=v3.7.2 SUITE=behat BROWSER=chrome"
- "PHP=7.3 DB=pgsql GIT=v3.7.2 SUITE=behat BROWSER=firefox"
- "PHP=7.1 DB=pgsql GIT=v3.7.2 SUITE=behat BROWSER=chrome"
- "PHP=7.1 DB=pgsql GIT=v3.7.2 SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=firefox"
- "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=chrome"
- "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=firefox"
# Other databases, only highest php supported (1 browsers)
- "PHP=7.4 DB=mssql GIT=v3.9.1 SUITE=behat BROWSER=chrome"
- "PHP=7.4 DB=mssql GIT=v3.8.4 SUITE=behat BROWSER=firefox"
- "PHP=7.3 DB=mssql GIT=v3.7.2 SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=mssql GIT=v3.5.8 SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=mysql GIT=v3.9.1 SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=mysql GIT=v3.8.4 SUITE=behat BROWSER=chrome"
- "PHP=7.3 DB=mysql GIT=v3.7.2 SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=mysql GIT=v3.5.8 SUITE=behat BROWSER=chrome"
# MariaDB, only lowest php supported (1 browsers)
- "PHP=7.2 DB=mariadb GIT=v3.9.1 SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=mariadb GIT=v3.8.4 SUITE=behat BROWSER=firefox"
- "PHP=7.1 DB=mariadb GIT=v3.7.2 SUITE=behat BROWSER=chrome"
- "PHP=7.0 DB=mariadb GIT=v3.5.8 SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=mariadb GIT=master SUITE=behat BROWSER=chrome"
- "PHP=7.4 DB=mariadb GIT=master SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=mariadb GIT=master SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=mariadb GIT=master SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=mariadb GIT=MOODLE_310_STABLE SUITE=behat BROWSER=chrome"
- "PHP=7.4 DB=mariadb GIT=MOODLE_310_STABLE SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=mariadb GIT=MOODLE_310_STABLE SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=mariadb GIT=MOODLE_310_STABLE SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=mariadb GIT=v3.9.2 SUITE=behat BROWSER=chrome"
- "PHP=7.4 DB=mariadb GIT=v3.9.2 SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=mariadb GIT=v3.9.2 SUITE=behat BROWSER=chrome"
- "PHP=7.2 DB=mariadb GIT=v3.9.2 SUITE=behat BROWSER=firefox"
- "PHP=7.4 DB=mariadb GIT=v3.8.5 SUITE=behat BROWSER=chrome"
- "PHP=7.1 DB=mariadb GIT=v3.8.5 SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=mariadb GIT=v3.8.5 SUITE=behat BROWSER=chrome"
- "PHP=7.1 DB=mariadb GIT=v3.8.5 SUITE=behat BROWSER=firefox"
- "PHP=7.3 DB=mariadb GIT=v3.7.8 SUITE=behat BROWSER=chrome"
- "PHP=7.1 DB=mariadb GIT=v3.7.8 SUITE=behat BROWSER=firefox"
- "PHP=7.3 DB=mariadb GIT=v3.7.8 SUITE=behat BROWSER=chrome"
- "PHP=7.1 DB=mariadb GIT=v3.7.8 SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=mariadb GIT=v3.5.14 SUITE=behat BROWSER=chrome"
- "PHP=7.0 DB=mariadb GIT=v3.5.14 SUITE=behat BROWSER=firefox"
- "PHP=7.2 DB=mariadb GIT=v3.5.14 SUITE=behat BROWSER=chrome"
- "PHP=7.0 DB=mariadb GIT=v3.5.14 SUITE=behat BROWSER=firefox"
# Mobile app
- "PHP=7.4 DB=pgsql GIT=master SUITE=behat-app-development BROWSER=chrome APP_VERSION=3.9.0 APP_PATH=$HOME/app"
- "PHP=7.4 DB=pgsql GIT=master SUITE=behat-app BROWSER=chrome APP_VERSION=3.9.0"
- "PHP=7.4 DB=mariadb GIT=master SUITE=behat-app-development BROWSER=chrome APP_VERSION=3.9.0 APP_PATH=$HOME/app"
- "PHP=7.4 DB=mariadb GIT=master SUITE=behat-app BROWSER=chrome APP_VERSION=3.9.0"
install:
- git clone --branch $GIT --depth 1 git://github.com/moodle/moodle $HOME/moodle
- cp config.docker-template.php $HOME/moodle/config.php
Expand Down

0 comments on commit e22216f

Please sign in to comment.