Try concurrent build process for travis
This commit is contained in:
parent
974318ffb4
commit
5a97f54013
10
.travis.yml
10
.travis.yml
|
@ -1,5 +1,11 @@
|
||||||
language: php
|
language: php
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
git:
|
||||||
|
depth: 3
|
||||||
|
quiet: true
|
||||||
|
env:
|
||||||
|
- TEST_SUITE=Unit
|
||||||
|
- TEST_SUITE=Integration
|
||||||
php:
|
php:
|
||||||
- 7.2
|
- 7.2
|
||||||
sudo: false
|
sudo: false
|
||||||
|
@ -15,8 +21,8 @@ before_script:
|
||||||
- cp .env.travis .env
|
- cp .env.travis .env
|
||||||
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
|
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-clover coverage.xml tests/Unit
|
- if [ "$TEST_SUITE" = "Unit" ]; then vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-clover coverage.xml tests/Unit; fi;
|
||||||
- vendor/bin/phpunit tests/Integration
|
- if [ "$TEST_SUITE" = "Integration" ]; then vendor/bin/phpunit tests/Integration; fi;
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
webhooks:
|
webhooks:
|
||||||
|
|
Loading…
Reference in New Issue