diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9cdea8c..b0f1a0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,4 +41,4 @@ jobs: - name: Unit tests run: | - vendor/bin/phpunit \ No newline at end of file + composer run-script test \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 12eeffa..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: php - -php: - - 5.4 - - 5.5 - - 5.6 - - 7.0 - - hhvm - -before_script: - - composer self-update - - composer install --no-interaction --prefer-source --dev - -script: vendor/bin/phpunit - -matrix: - allow_failures: - - php: hhvm diff --git a/composer.json b/composer.json index 2b18c07..6bbc35a 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,9 @@ "autoload": { "psr-4": { "GuzzleHttp\\Stream\\": "src/" } }, + "scripts": { + "test": "make test" + }, "extra": { "branch-alias": { "dev-master": "3.0-dev"