From d9c72e198f5180dd4ff78804529e042512708318 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 4 Nov 2019 13:56:29 +0200 Subject: [PATCH] Move to github actions --- .github/workflows/ci.yml | 16 ++++++++++++++++ .travis.yml | 14 -------------- composer.json | 2 +- 3 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml 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": {