Skip to content

Commit

Permalink
Merge pull request #8 from VitalyArt/scheduled-maintanance
Browse files Browse the repository at this point in the history
Scheduled maintanance
  • Loading branch information
VitalyArt committed Dec 5, 2022
2 parents d302db9 + e30be08 commit c7f7844
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ language: php
php:
- 7.3
- 7.4
- 8.0
- 8.1
before_install:
- composer install
script: ./vendor/phpunit/phpunit/phpunit --testdox --bootstrap vendor/autoload.php tests
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
composer-install:
docker run --rm -v `pwd`/:/app composer:2 composer install

run-all-tests:
make run-php73-tests
make run-php74-tests
make run-php80-tests
make run-php81-tests

run-php73-tests:
docker run --rm -v `pwd`/:/app php:7.3 /app/vendor/phpunit/phpunit/phpunit --testdox --bootstrap /app/vendor/autoload.php /app/tests

run-php74-tests:
docker run --rm -v `pwd`/:/app php:7.4 /app/vendor/phpunit/phpunit/phpunit --testdox --bootstrap /app/vendor/autoload.php /app/tests

run-php80-tests:
docker run --rm -v `pwd`/:/app php:8.0 /app/vendor/phpunit/phpunit/phpunit --testdox --bootstrap /app/vendor/autoload.php /app/tests

run-php81-tests:
docker run --rm -v `pwd`/:/app php:8.1 /app/vendor/phpunit/phpunit/phpunit --testdox --bootstrap /app/vendor/autoload.php /app/tests
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "vitalyart/hltv-demo-parser",
"description": "Парсер данных с демки HLTV",
"description": "This package is designed to obtain information from the demo of the servers or games on the Half-Life 1 engine.",
"require": {
"php": ">=7.1",
"php": ">=7.3",
"ext-mbstring": "*"
},
"require-dev": {
Expand Down

0 comments on commit c7f7844

Please sign in to comment.