Skip to content

Commit dbd8d38

Browse files
committed
Updated travis.yml
1 parent 57936b7 commit dbd8d38

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.travis.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,11 @@
1-
sudo: false
2-
31
language: php
42

53
php:
64
- 7.4.2
75

86
before_script:
9-
- mkdir -p _clover
10-
- ls -al
7+
- curl -sS http://getcomposer.org/installer | php
8+
- php composer.phar install --prefer-source --no-interaction
119

1210
script:
13-
- ./vendor/bin/phpunit --coverage-clover _clover/clover.xml
14-
15-
install:
16-
# Install composer packages
17-
- travis_retry composer install --no-interaction --no-suggest
18-
# Install coveralls.phar
19-
- wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar -O coveralls.phar
20-
- chmod +x coveralls.phar
21-
- php coveralls.phar --version
22-
23-
after_success:
24-
# Submit coverage report to Coveralls servers, see .coveralls.yml
25-
- travis_retry php coveralls.phar -v
26-
# Submit coverage report to codecov.io
27-
- bash <(curl -s https://codecov.io/bash)
11+
- ./vendor/bin/phpunit

0 commit comments

Comments
 (0)