From 5a97f5401339f43b8419eb9d4d1958f773b6a000 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 30 Jun 2018 17:55:41 -0700 Subject: [PATCH] Try concurrent build process for travis --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4ed53fd7f..7eb6bfb5e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,11 @@ language: php dist: trusty +git: + depth: 3 + quiet: true +env: + - TEST_SUITE=Unit + - TEST_SUITE=Integration php: - 7.2 sudo: false @@ -15,8 +21,8 @@ before_script: - cp .env.travis .env - travis_retry composer install --no-interaction --prefer-dist --no-suggest script: - - vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-clover coverage.xml tests/Unit - - vendor/bin/phpunit tests/Integration + - if [ "$TEST_SUITE" = "Unit" ]; then vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-clover coverage.xml tests/Unit; fi; + - if [ "$TEST_SUITE" = "Integration" ]; then vendor/bin/phpunit tests/Integration; fi; notifications: email: false webhooks: