generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from kiwilan/develop
v3.0.03
- Loading branch information
Showing
7 changed files
with
81 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,7 @@ function addWriterFilesForTests() | |
MKA, | ||
MKV, | ||
MP3, | ||
MP4, | ||
// MP4, | ||
OGG, | ||
OPUS, | ||
SPX, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Tests | ||
|
||
## Docker ubuntu | ||
|
||
```bash | ||
docker pull ubuntu:latest | ||
docker run -it --rm ubuntu:latest | ||
``` | ||
|
||
```bash | ||
cd /home | ||
apt update | ||
apt install -y git software-properties-common | ||
apt install -y flac vorbis-tools | ||
add-apt-repository ppa:ondrej/php | ||
apt update | ||
apt -y install php8.2-fpm php8.2-curl php8.2-xml php8.2-zip | ||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | ||
php composer-setup.php | ||
php -r "unlink('composer-setup.php');" | ||
``` | ||
|
||
```bash | ||
git clone -b develop https://github.com/kiwilan/php-audio.git | ||
cd php-audio | ||
/home/composer.phar install | ||
/home/composer.phar test | ||
``` | ||
|
||
## Docker windows | ||
|
||
```bash | ||
docker pull mcr.microsoft.com/windows/server | ||
docker run -it --rm mcr.microsoft.com/windows/servercore:ltsc2019 | ||
``` | ||
|
||
```bash | ||
powershell | ||
``` | ||
|
||
```powershell | ||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')) | ||
scoop install git | ||
scoop install php | ||
scoop install composer | ||
``` | ||
|
||
```bash | ||
git clone -b develop | ||
cd php-audio | ||
composer install | ||
composer test | ||
``` |