diff --git a/.gitattributes b/.gitattributes index 0d44aa7..132468b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,5 @@ /.gitattributes export-ignore /.gitignore export-ignore -/.travis.yml export-ignore /phpcs.xml.dist export-ignore /phpmd.xml export-ignore /phpunit.xml.dist export-ignore diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..326302f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Test + +on: + pull_request: + branches: ["master"] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install + uses: php-actions/composer@v5 + with: + php_version: 7.4 + - name: Test + uses: php-actions/composer@v5 + with: + php_version: 7.4 + command: test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9c87139..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: php -php: - - 7.0 - - 7.1 - - 7.2 - - 7.3 - - 7.4 - -install: - - composer install - -script: - - composer test