diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2014-03-10 21:34:55 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2014-03-10 21:34:55 -0500 |
| commit | a4810405d232ed6262e06aa8c342485be7c60a18 (patch) | |
| tree | b451fd165c74e6c1f5acc418b327c1174a442c93 | |
| parent | 00f8fe24d2641823f51990b30d5a3f84884a78a6 (diff) | |
| download | forums-a4810405d232ed6262e06aa8c342485be7c60a18.tar forums-a4810405d232ed6262e06aa8c342485be7c60a18.tar.gz forums-a4810405d232ed6262e06aa8c342485be7c60a18.tar.bz2 forums-a4810405d232ed6262e06aa8c342485be7c60a18.tar.xz forums-a4810405d232ed6262e06aa8c342485be7c60a18.zip | |
[ticket/12259] Reduce the size of our test matrix
Only test MariaDB or PostgreSQL once on PHP 5.4. This reduces our build matrix
by 10 builds (over half).
PHPBB3-12259
| -rw-r--r-- | .travis.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 44067cba3f..1e5f453c76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,7 @@ php: - 5.6 env: - - DB=mariadb - DB=mysql - - DB=postgres before_script: - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres; fi" @@ -26,3 +24,10 @@ before_script: script: - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then phpunit --configuration travis/phpunit-$DB-travis.xml; else phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi" - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' -a '$DB' = 'mysql' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi" + +matrix: + include: + - php: 5.4 + env: DB=mariadb + - php: 5.4 + env: DB=postgres |
