diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b2638e..6a9b089 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: run: | cp phpunit.xml.dist phpunit.xml composer install - composer require --dev phpstan/phpstan + composer require --dev phpstan/phpstan:^0.9.2 - name: Run tests and analytics run: | vendor/phpunit/phpunit/phpunit -c phpunit.xml tests/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b8f464d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -language: php - -php: - - 7.0 - - 7.1 - - 7.2 - -branches: - only: - - master - - develop - - /^v\d+\.\d+\.\d+$/ - -cache: - directories: - - vendor/ - - $HOME/.composer/cache - -before_install: - - phpenv config-rm xdebug.ini || echo "XDebug disabled." - - composer self-update - -install: - - cp phpunit.xml.dist phpunit.xml - - composer install - - composer require --dev phpstan/phpstan - -script: - - vendor/phpunit/phpunit/phpunit -c phpunit.xml tests/ - - vendor/bin/phpstan analyse -l 7 lib/