Skip to content

Commit 5a97f54

Browse files
committed
Try concurrent build process for travis
1 parent 974318f commit 5a97f54

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
language: php
22
dist: trusty
3+
git:
4+
depth: 3
5+
quiet: true
6+
env:
7+
- TEST_SUITE=Unit
8+
- TEST_SUITE=Integration
39
php:
410
- 7.2
511
sudo: false
@@ -15,8 +21,8 @@ before_script:
1521
- cp .env.travis .env
1622
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
1723
script:
18-
- vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-clover coverage.xml tests/Unit
19-
- vendor/bin/phpunit tests/Integration
24+
- if [ "$TEST_SUITE" = "Unit" ]; then vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-clover coverage.xml tests/Unit; fi;
25+
- if [ "$TEST_SUITE" = "Integration" ]; then vendor/bin/phpunit tests/Integration; fi;
2026
notifications:
2127
email: false
2228
webhooks:

0 commit comments

Comments
 (0)