From dc66eb10642d83da32c33a11bb4f606e682e06ef Mon Sep 17 00:00:00 2001 From: sc0vu Date: Sat, 14 Nov 2020 22:28:58 +0800 Subject: [PATCH 1/3] Update guzzlehttp to 7 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 69a3463..8676574 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "guzzlehttp/guzzle": "~6.0", + "guzzlehttp/guzzle": "~7.0", "PHP": "^7.1", "kornrunner/keccak": "~1.0", "phpseclib/phpseclib": "~2.0.11", From 292b579337638dddfc780708ec741a9c7b25af2d Mon Sep 17 00:00:00 2001 From: sc0vu Date: Sat, 14 Nov 2020 22:31:10 +0800 Subject: [PATCH 2/3] Test for php ~7.4 --- .travis.yml | 3 ++- docker/php/Dockerfile-74 | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 docker/php/Dockerfile-74 diff --git a/.travis.yml b/.travis.yml index 1f5c1fd..85fc0ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ php: - 7.1 - 7.2 - 7.3 + - 7.4 before_install: - nvm install 8 @@ -25,4 +26,4 @@ script: - scripts/test.sh after_success: - - bash <(curl -s https://codecov.io/bash) -t 8436848f-9a99-4b49-be60-629d7ff9a62c \ No newline at end of file + - bash <(curl -s https://codecov.io/bash) -t 8436848f-9a99-4b49-be60-629d7ff9a62c diff --git a/docker/php/Dockerfile-74 b/docker/php/Dockerfile-74 new file mode 100644 index 0000000..f957a25 --- /dev/null +++ b/docker/php/Dockerfile-74 @@ -0,0 +1,23 @@ +FROM php:7.4-alpine + +MAINTAINER Peter Lai + +COPY composer-setup.php composer-setup.php +# COPY php.ini-production $PHP_INI_DIR/php.ini + +RUN apk update && \ + apk add git + +# Install gmp +Run apk add gmp-dev && \ + docker-php-ext-install gmp + +# Install nodejs +# Run apk add --update nodejs nodejs-npm + +# Install composer +RUN php composer-setup.php && \ + php composer-setup.php --install-dir=/usr/bin --filename=composer && \ + php -r "unlink('composer-setup.php');" + +WORKDIR /app From d4f747606fead81aca35f46d23fa38627205f8b4 Mon Sep 17 00:00:00 2001 From: sc0vu Date: Sat, 14 Nov 2020 23:33:04 +0800 Subject: [PATCH 3/3] Update codecov/README.md --- .travis.yml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 85fc0ff..ab36450 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,4 +26,4 @@ script: - scripts/test.sh after_success: - - bash <(curl -s https://codecov.io/bash) -t 8436848f-9a99-4b49-be60-629d7ff9a62c + - bash <(curl -s https://codecov.io/bash) -t 76a0abaf-bbc4-4829-b5b8-474f10a6b9e9 diff --git a/README.md b/README.md index aa1d5f9..c97e944 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # web3.php -[![Build Status](https://travis-ci.org/sc0Vu/web3.php.svg?branch=master)](https://travis-ci.org/sc0Vu/web3.php) -[![codecov](https://codecov.io/gh/sc0Vu/web3.php/branch/master/graph/badge.svg)](https://codecov.io/gh/sc0Vu/web3.php) +[![Build Status](https://travis-ci.org/web3p/web3.php.svg?branch=master)](https://travis-ci.org/web3p/web3.php) +[![codecov](https://codecov.io/gh/web3p/web3.php/branch/master/graph/badge.svg)](https://codecov.io/gh/web3p/web3.php) [![Join the chat at https://gitter.im/web3-php/web3.php](https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg)](https://gitter.im/web3-php/web3.php) -[![Licensed under the MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/sc0Vu/web3.php/blob/master/LICENSE) +[![Licensed under the MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/web3p/web3.php/blob/master/LICENSE) A php interface for interacting with the Ethereum blockchain and ecosystem.