Skip to content

Commit

Permalink
update docs and build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne-Lexa committed Feb 23, 2021
1 parent f799eca commit 34074a8
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 52 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
.gitignore export-ignore
.php_cs export-ignore
bootstrap.php export-ignore
logo.svg export-ignore
phpunit.xml export-ignore
tests export-ignore
22 changes: 20 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
extensions: bz2, dom, iconv, fileinfo, openssl, xml, zlib
key: cache-v1
PHPUNIT_COVERAGE: 0
PHP_INI: date.timezone='UTC', memory_limit=-1, opcache.enable=1, opcache.enable_cli=1

strategy:
matrix:
Expand All @@ -34,14 +35,31 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install unzip p7zip-full

-
name: Set JIT args
if: matrix.php == '8.0'
run: echo "PHP_INI=\"$PHP_INI, opcache.jit_buffer_size=256M\"" >> $GITHUB_ENV

-
name: Install PHP with extensions
if: matrix.php == '7.4'
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ${{ env.extensions }}
coverage: pcov
ini-values: ${{ env.PHP_INI }}
tools: composer:v2

-
name: Install PHP 8.0 with extensions
if: matrix.php == '8.0'
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
php-version: 8.0
extensions: ${{ env.extensions }}
coverage: pcov
ini-values: date.timezone='UTC', memory_limit=-1
ini-values: date.timezone='UTC', memory_limit=-1, opcache.enable=1, opcache.enable_cli=1, opcache.jit_buffer_size=256M
tools: composer:v2

-
Expand Down
43 changes: 0 additions & 43 deletions .scrutinizer.yml

This file was deleted.

7 changes: 3 additions & 4 deletions README.RU.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
`PhpZip`
========
<h1 align="center"><img src="logo.svg" alt="PhpZip" width="250" height="51"></h1>

`PhpZip` - php библиотека для продвинутой работы с ZIP-архивами.

[![Build Status](https://travis-ci.org/Ne-Lexa/php-zip.svg?branch=master)](https://travis-ci.org/Ne-Lexa/php-zip)
[![Build Status](https://github.com/Ne-Lexa/php-zip/workflows/build/badge.svg)](https://github.com/Ne-Lexa/php-zip/actions)
[![Code Coverage](https://scrutinizer-ci.com/g/Ne-Lexa/php-zip/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Ne-Lexa/php-zip/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/nelexa/zip/v/stable)](https://packagist.org/packages/nelexa/zip)
[![Total Downloads](https://poser.pugx.org/nelexa/zip/downloads)](https://packagist.org/packages/nelexa/zip)
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%205.5-8892BF.svg)](https://php.net/)
[![License](https://poser.pugx.org/nelexa/zip/license)](https://packagist.org/packages/nelexa/zip)

[English Documentation](README.md)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
`PhpZip`
========
<h1 align="center"><img src="logo.svg" alt="PhpZip" width="250" height="51"></h1>

`PhpZip` is a php-library for extended work with ZIP-archives.

[![Build Status](https://github.com/Ne-Lexa/php-zip/workflows/build/badge.svg)](https://github.com/Ne-Lexa/php-zip/actions)
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"archive",
"extract",
"winzip",
"zipalign",
"ziparchive"
],
"homepage": "https://github.com/Ne-Lexa/php-zip",
Expand Down
1 change: 1 addition & 0 deletions logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34074a8

Please sign in to comment.