diff --git a/.gitattributes b/.gitattributes index 81acd82..ad99298 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,5 @@ .gitattributes export-ignore .gitignore export-ignore +/.github export-ignore /phpunit.xml.dist export-ignore /tests export-ignore -/.travis.yml export-ignore diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e125a2d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,49 +0,0 @@ -language: php - -php: - - 7.2 - - 7.3 - - 7.4snapshot - - nightly - -matrix: - allow_failures: - - php: 7.4snapshot - - php: nightly - -env: - - LARAVEL_VERSION="" - - LARAVEL_VERSION="6.0" - -install: - - travis/laravel.php - - composer update - -script: - - vendor/bin/phpunit - -jobs: - include: - - - stage: dependencies - script: - - vendor/bin/composer-require-checker - - - stage: coding standards - script: - - vendor/bin/phpcs --standard=phpcs.xml - - - stage: code quality - script: - - vendor/bin/phpstan analyse --level=max --configuration=phpstan-src.neon src - - vendor/bin/phpstan analyse --level=max --configuration=phpstan-tests.neon tests - - - stage: coverage - script: - - vendor/bin/phpunit --coverage-clover=coverage.xml - - bash <(curl -s https://codecov.io/bash) - -git: - depth: 5 - -group: travis_latest diff --git a/README.md b/README.md index b708716..f2d0e54 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Full documentation is available at http://duncan3dc.github.io/blade/ PHPDoc API documentation is also available at [http://duncan3dc.github.io/blade/api/](http://duncan3dc.github.io/blade/api/namespaces/duncan3dc.Laravel.html) [![release](https://poser.pugx.org/duncan3dc/blade/version.svg)](https://packagist.org/packages/duncan3dc/blade) -[![build](https://travis-ci.org/duncan3dc/blade.svg?branch=master)](https://travis-ci.org/duncan3dc/blade) +[![build](https://github.com/duncan3dc/blade/workflows/.github/workflows/buildcheck.yml/badge.svg?branch=main)](https://github.com/duncan3dc/blade/actions?query=branch%3Amain+workflow%3A.github%2Fworkflows%2Fbuildcheck.yml) [![coverage](https://codecov.io/gh/duncan3dc/blade/graph/badge.svg)](https://codecov.io/gh/duncan3dc/blade)