Skip to content

Commit

Permalink
Create .travis.yml (#9)
Browse files Browse the repository at this point in the history
adding travis
  • Loading branch information
mihaileu authored Jun 11, 2020
1 parent 9e9c190 commit de85d77
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: php

php:
- 7.2
- 7.4

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

install:
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-dist --no-interaction

script:
- vendor/bin/phpunit src/Tests --coverage-clover=coverage.clover
- vendor/bin/phpstan analyse

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 comments on commit de85d77

Please sign in to comment.