Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
divineniiquaye committed Jul 9, 2020
1 parent c6bddde commit d609276
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Expand Up @@ -2,26 +2,26 @@ language: php
sudo: false

cache:
directories:
- $HOME/.composer/cache
directories:
- $HOME/.composer/cache

matrix:
include:
- php: 7.2
- php: 7.3
- php: 7.4
fast_finish: true
include:
- php: 7.2
- php: 7.3
- php: 7.4
fast_finish: true

before_install:
- composer self-update
- composer self-update

install:
- composer update --no-interaction
- composer require squizlabs/php_codesniffer --dev
- composer update --no-interaction
- composer require squizlabs/php_codesniffer --dev

script:
- ./vendor/bin/phpcs --standard=psr12 --colors src Tests
- ./vendor/bin/phpunit --coverage-clover=coverage.xml
- ./vendor/bin/phpcs --standard=psr12 --colors src Tests
- ./vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
- bash <(curl -s https://codecov.io/bash) -f coverage.xml
- bash <(curl -s https://codecov.io/bash) -f coverage.xml

0 comments on commit d609276

Please sign in to comment.