This repository has been archived by the owner on Jul 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
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
14 changed files
with
240 additions
and
66 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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# archer start | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.travis.yml export-ignore | ||
.travis.* export-ignore | ||
.archer.* export-ignore | ||
test export-ignore | ||
# archer end |
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,2 +1,4 @@ | ||
test/report | ||
vendor | ||
# archer start | ||
/artifacts/ | ||
/vendor/ | ||
# archer end |
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 @@ | ||
3G+wU0c9r9fKxnWsHSpwKNAJMUVBAyqG3pkflpHJ8grfe/qJb5Od0HyW/IJHRcm8FoUtmz46AK3u/Xup34cah+6+8H7IR4TrW8/5YNLv7k8mAAN3LqQgP8K0kcdUgr9DibWRbhNLAHHZxMD0FXELWfxotj92XJiT5aNV+JjyQug= |
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,26 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
/** | ||
* This script is executed before composer dependencies are installed, | ||
* and as such must be included in each project as part of the skeleton. | ||
*/ | ||
if ($token = getenv('ARCHER_TOKEN')) { | ||
$config = array( | ||
'config' => array( | ||
'github-oauth' => array('github.com' => $token) | ||
) | ||
); | ||
|
||
$file = '~/.composer/config.json'; | ||
$dir = dirname($file); | ||
if (!is_dir($dir)) { | ||
mkdir($dir, 0755, true); | ||
} | ||
file_put_contents($file, json_encode($config)); | ||
|
||
$composerFlags = '--prefer-dist'; | ||
} else { | ||
$composerFlags = '--prefer-source'; | ||
} | ||
|
||
passthru('composer install --dev --no-progress --no-interaction --ansi ' . $composerFlags); |
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,6 @@ | ||
-----BEGIN RSA PUBLIC KEY----- | ||
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDiNuj+afvKEkTjTZN28lCo8rrG | ||
gjN8X5qd34gnZPpsHU6QETQv58tYl3754P3HZb9eOzlvS1WVIukLVLcDQ22H7XBg | ||
AfnidBMYWw2R0XPxBgdmCmsUbN9soALPOHpu7Zw9Mj1I9iMAAZ34iJKhc7TFTYlZ | ||
Zoqr79OJ4lR8CfohxQIDAQAB | ||
-----END RSA PUBLIC KEY----- |
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,22 +1,29 @@ | ||
# | ||
# This is the default Travis CI configuration. | ||
# | ||
# It uses a GitHub OAuth token when fetching composer dependencies | ||
# to avoid IP-based API throttling. | ||
# | ||
# It also allows publication of artifacts via an additional build. | ||
# | ||
language: php | ||
|
||
php: | ||
- 5.3.3 | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
|
||
matrix: | ||
# Use PHP 5.4 for coverage reporting. | ||
include: | ||
- php: 5.4 | ||
env: | ||
- secure: "kGkszrQG6V6BAfwZmGAHRfaOHbn2o0hXuBfp8TutXtdc3dNFCy5ZVptJrTR3\nSQF4baDhRQDIBVWrIpbLiaLIVH/XxrstriGv5hfD7Mumun98/X2qXUOl0ku4\n69usbE9mfZ+z0yGsRti6Owt6Elz5qU+OsVpWgP5ZblT1K6OUACA=" | ||
env: | ||
global: | ||
- ARCHER_PUBLISH_VERSION=5.4 | ||
- secure: "3G+wU0c9r9fKxnWsHSpwKNAJMUVBAyqG3pkflpHJ8grfe/qJb5Od0HyW/IJHRcm8FoUtmz46AK3u/Xup34cah+6+8H7IR4TrW8/5YNLv7k8mAAN3LqQgP8K0kcdUgr9DibWRbhNLAHHZxMD0FXELWfxotj92XJiT5aNV+JjyQug=" | ||
|
||
install: | ||
- ./.travis.install | ||
script: | ||
- ./vendor/bin/archer travis:build | ||
|
||
matrix: | ||
# PHP 5.5 is still in alpha, so ignore build failures. | ||
allow_failures: | ||
- php: 5.5 | ||
|
||
install: composer install --dev | ||
script: ./vendor/bin/travis-build | ||
after_success: ./vendor/bin/travis-success |
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,6 @@ | ||
# PHP-LCS changelog | ||
|
||
### 1.0.3 | ||
|
||
* [Archer](https://github.com/IcecaveStudios/archer) integration | ||
* Implemented changelog |
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,29 @@ | ||
# Contributing | ||
|
||
**PHP-LCS** is open source software; contributions from the community are | ||
encouraged. Please take a moment to read these guidelines before submitting | ||
changes. | ||
|
||
### Code style | ||
|
||
All PHP code must adhere to the | ||
[PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) | ||
standards. | ||
|
||
### Branching and pull requests | ||
|
||
As a guideline, please follow this process: | ||
|
||
1. [Fork the repository](https://help.github.com/articles/fork-a-repo). | ||
2. Create a topic branch for the change: | ||
* New features should branch from **develop**. | ||
* Bug fixes to existing versions should branch from **master**. | ||
* Please ensure the branch is clearly labelled as a feature or fix. | ||
3. Make the relevant changes. | ||
4. [Squash](http://git-scm.com/book/en/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) | ||
commits if necessary. | ||
4. Submit a pull request to the **develop** branch. | ||
|
||
Please note this is a general guideline only. For more information on the | ||
branching structure please see the | ||
[git-flow cheatsheet](http://danielkummer.github.com/git-flow-cheatsheet/). |
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
Oops, something went wrong.