We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974318f commit 5a97f54Copy full SHA for 5a97f54
1 file changed
.travis.yml
@@ -1,5 +1,11 @@
1
language: php
2
dist: trusty
3
+git:
4
+ depth: 3
5
+ quiet: true
6
+env:
7
+ - TEST_SUITE=Unit
8
+ - TEST_SUITE=Integration
9
php:
10
- 7.2
11
sudo: false
@@ -15,8 +21,8 @@ before_script:
15
21
- cp .env.travis .env
16
22
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
17
23
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;
20
26
notifications:
27
email: false
28
webhooks:
0 commit comments