From 7b267a186f2947bfdf1251bc0f1e0bd042ca5ba8 Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Mon, 27 May 2019 20:02:16 -0700 Subject: [PATCH] test matrix + postgres --- .travis.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6949f9c25a7..7326a2269d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,10 @@ dist: trusty env: global: - - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest"" + - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest" + matrix: + - DB=mysql + - DB=postgresql branches: only: @@ -86,21 +89,6 @@ after_script: bash <(curl -s https://codecov.io/bash) fi -#after_script: -# - | -# if [ $TASK_TESTS_COVERAGE == 1 ]; then -# travis_retry wget https://scrutinizer-ci.com/ocular.phar -# php ocular.phar code-coverage:upload --format=php-clover coverage.clover -# fi - -#script: -# - | -# # if [[ $TASK_TESTS_COVERAGE != 1 ]]; then -# php -d display_errors=on -d max_execution_time=-1 -d memory_limit=2048M -d error_reporting=-1 vendor/codeception/codeception/codecept run tests/unit/helpers/ArrayHelperTest.php:testToArray; -# # else -# # vendor/bin/codecept run unit --coverage --coverage-xml; -# # fi - #jobs: # include: # - stage: Static Code Analysis