diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d56ac3b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: CI + +on: [push] + +jobs: + php: + runs-on: ubuntu-latest + strategy: + matrix: + php: [7.2, 7.3] + steps: + - uses: actions/checkout@v1 + - name: Install dependencies + run: composer install --no-interaction --no-progress + - name: Run tests + run: php${{ matrix.php }} vendor/bin/phpunit --configuration Tests/phpunit.xml --verbose --fail-on-warning diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3f2d0ea..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -sudo: false -language: php -php: - - 7.2 - -notifications: - email: false - -install: - - composer install --no-interaction -script: - - php ./vendor/bin/phpunit --configuration Tests/phpunit.xml -after_script: - - php ./vendor/bin/php-coveralls -v diff --git a/composer.json b/composer.json index d742f0c..4dc81d9 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ ], "require": { - "php": ">=5.5" + "php": ">=7.2" }, "require-dev": {