Skip to content

Commit de85d77

Browse files
authored
Create .travis.yml (#9)
adding travis
1 parent 9e9c190 commit de85d77

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: php
2+
3+
php:
4+
- 7.2
5+
- 7.4
6+
7+
cache:
8+
directories:
9+
- $HOME/.composer/cache
10+
11+
install:
12+
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-dist --no-interaction
13+
14+
script:
15+
- vendor/bin/phpunit src/Tests --coverage-clover=coverage.clover
16+
- vendor/bin/phpstan analyse
17+
18+
after_script:
19+
- wget https://scrutinizer-ci.com/ocular.phar
20+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 commit comments

Comments
 (0)