-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
251 additions
and
96 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: DebianPackage | ||
|
||
on: | ||
release: | ||
types: [published, created, edited] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
env: | ||
DEBIAN_FRONTEND: "noninteractive" | ||
- name: Prepare Debuild Environment | ||
run: | | ||
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list | ||
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg | ||
sudo apt-get update | ||
sudo apt-get install -y aptitude composer exim4 pbuilder ubuntu-dev-tools apt-file debhelper | ||
- name: Build Package | ||
run: debuild-pbuilder |
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,19 @@ | ||
name: PHPUnit | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
- name: Prepare Environment | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y composer exim4 | ||
composer update | ||
- name: Run tests | ||
run: vendor/bin/phpunit --bootstrap tests/Bootstrap.php --configuration phpunit.xml tests/src/ |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Ease framework Core for Debian | ||
Ease framework HTML for Debian | ||
------------------------------ | ||
|
||
Is installed by standard way in /usr/share/php/EaseCore | ||
Is installed by standard way in /usr/share/php/EaseHtml | ||
|
||
-- Vítězslav Dvořák <[email protected]> Ne říj 21 15:17:56 CEST 2012 | ||
|
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 |
---|---|---|
@@ -1,9 +1,19 @@ | ||
php-ease-html (0.5) UNRELEASED; urgency=medium | ||
php-ease-html (0.15) UNRELEASED; urgency=medium | ||
|
||
* First release | ||
* Backported Mailer | ||
* Backported Mailer | ||
* Backported Mailer | ||
* Another Unit tests | ||
* All Tests pass | ||
* All Tests pass | ||
* All Tests pass | ||
* All Tests pass | ||
* All Tests pass | ||
* All Tests pass | ||
* All Tests pass | ||
* All Tests pass | ||
* All Tests pass | ||
* All Tests pass | ||
|
||
-- Vítězslav Dvořák <[email protected]> Wed, 02 Oct 2019 22:40:24 +0200 | ||
-- Vítězslav Dvořák <[email protected]> Sat, 12 Oct 2019 14:34:53 +0200 |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Source: php-ease-html | ||
Build-Depends: debhelper (>= 7.0.50~) | ||
Build-Depends: debhelper (>= 7.0.50~), php-ease-core | ||
Section: web | ||
Standards-Version: 3.9.8 | ||
Maintainer: Vítězslav Dvořák <[email protected]> | ||
Uploaders: Vitex <[email protected]> | ||
Priority: optional | ||
Homepage: https://github.com/VitexSoftware/ease-html | ||
Homepage: https://github.com/VitexSoftware/php-ease-html | ||
|
||
Package: php-ease-html | ||
Depends: ${misc:Depends},libjs-jquery (>= 1.4), php-mail, php-mail-mime, php-ease-core | ||
|
@@ -16,3 +16,13 @@ Section: web | |
Priority: optional | ||
Description: EasePHP Framework HTML support | ||
HTML classes for Ease Framework. | ||
|
||
Package: php-ease-html-dev | ||
Depends: ${misc:Depends}, php-ease-core-dev | ||
Architecture: all | ||
Conflicts: ease-framework | ||
Section: devel | ||
Priority: optional | ||
Description: EasePHP Framework HTML unit tests | ||
HTML classes for Ease Framework. | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
src/Ease/* usr/share/php/EaseHtmlTests/ | ||
debian/test/composer.json usr/share/php/EaseHtmlTests/ | ||
debian/test/Bootstrap.php usr/share/php/EaseHtmlTests/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,13 +1,18 @@ | ||
#!/usr/bin/make -f | ||
|
||
PKG_PATH:=/usr/share/php/EaseCore | ||
BUILD_DIR:=build | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_test: | ||
echo tests temporarly skipped for now in rules file | ||
override_dh_clean: | ||
rm -rf debian/test/vendor | ||
dh_clean | ||
|
||
|
||
override_dh_test: | ||
composer --working-dir=debian/test update | ||
phpunit --bootstrap debian/test/Bootstrap.php --configuration phpunit.xml tests/src/ | ||
dh_test | ||
|
||
override_dh_install: | ||
|
||
dh_install |
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,27 @@ | ||
<?php | ||
/** | ||
* Zaváděcí soubor pro provádění PHPUnit testů na EaseFrameworkem. | ||
* | ||
* @author Vitex <[email protected]> | ||
* @copyright 2012-2017 [email protected] (G) | ||
*/ | ||
|
||
namespace Test\Ease; | ||
|
||
require_once __DIR__.'/../vendor/autoload.php'; | ||
|
||
if ((php_sapi_name() != 'cli') && (session_status() == 'PHP_SESSION_NONE')) { | ||
session_start(); | ||
} else { | ||
$_SESSION = []; | ||
} | ||
|
||
define('EASE_APPNAME', 'EaseHtmlUnitTest'); | ||
define('EASE_LOGGER', 'syslog'); | ||
|
||
|
||
\Ease\Locale::singleton('cs_CZ'); | ||
|
||
//\Ease\Shared::user(new \Ease\Anonym()); | ||
//\Ease\Shared::webPage(new \Ease\WebPage()); | ||
|
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,42 @@ | ||
{ | ||
"name": "deb/ease-html", | ||
"description": "An Core of PHP Framework for Ease of writing Applications (debianized)", | ||
"version": "0.5", | ||
"authors": [ | ||
{ | ||
"name": "Vítězslav Dvořák", | ||
"email": "[email protected]", | ||
"homepage": "http://v.s.cz/" | ||
} | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"Ease\\": "\\src\\Ease", | ||
"Ease\\Html\\": "src\\EaseHtml" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\Ease\\": [ "/usr/share/php/EaseCoreTests", "tests/src/Ease" ], | ||
"Tests\\Ease\\Html\\": "tests/src/EaseHtml" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"require": { | ||
"deb/ease-core": "*" | ||
}, | ||
|
||
"repositories": [ | ||
{ | ||
"type": "path", | ||
"url": "/usr/share/php/Ease", | ||
"options": { | ||
"symlink": true | ||
} | ||
} | ||
], | ||
|
||
"type": "library", | ||
"homepage": "", | ||
"license": "GPL-2.0+" | ||
} |
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
Oops, something went wrong.