Skip to content

Commit 60cf943

Browse files
authored
Update .travis.yml
Removed old unit tests. As all APIs are covered by sample codes, old unit tests are redundant.
1 parent 02b948b commit 60cf943

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ sudo: false
44

55
env:
66
- TEST_SUITE=samples
7-
- TEST_SUITE=coverage
87

98
php:
109
- 5.6
@@ -29,9 +28,8 @@ before_script:
2928
script:
3029
# execute all of the tests or other commands to determine
3130
# whether the build will pass or fail
32-
- if [[ "$TEST_SUITE" == "coverage" ]]; then vendor/phpunit/phpunit/phpunit --coverage-clover=coverage.clover; fi
3331
- if [[ "$TEST_SUITE" == "samples" ]]; then phpenv config-rm xdebug.ini; cd sample-code-php; composer install --prefer-dist; vendor/phpunit/phpunit/phpunit test-runner.php .; fi
3432

3533
after_script:
3634
# - if [[ "$TEST_SUITE" == "coverage" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
37-
# - if [[ "$TEST_SUITE" == "coverage" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
35+
# - if [[ "$TEST_SUITE" == "coverage" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

0 commit comments

Comments
 (0)