-
Notifications
You must be signed in to change notification settings - Fork 24
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 #15 from nkammah/master
Move TryLib to composer and fix tests to work with recent phpunit version
- Loading branch information
Showing
43 changed files
with
435 additions
and
474 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,3 @@ | ||
vendor | ||
composer.lock | ||
patch.diff |
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,23 +1,12 @@ | ||
language: php | ||
|
||
php: | ||
- "5.3" | ||
- "5.4" | ||
- "5.5" | ||
- "7.0" | ||
- "7.1" | ||
|
||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
|
||
before_script: | ||
- pear config-set verbose 3 | ||
- pear channel-discover pear.bovigo.org | ||
- pear install bovigo/vfsStream-beta | ||
- export PHP_INCLUDE_PATH=`pear config-get php_dir` | ||
- export PHP_INI_FILE=`pear config-get php_ini` | ||
- echo 'include_path = ".:${PHP_INCLUDE_PATH}"' >> $PHP_INI_FILE | ||
- echo $PHP_INCLUDE_PATH | ||
- phpenv rehash | ||
|
||
script: phpunit tests | ||
|
||
notifications: | ||
email: false | ||
irc: false | ||
- composer self-update | ||
- composer install --prefer-source --no-interaction --dev | ||
|
||
script: phpunit |
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 was deleted.
Oops, something went wrong.
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,29 @@ | ||
{ | ||
"name": "etsy/TryLib", | ||
"type": "library", | ||
"description": "Try lib : send your diffs to your CI cluster.", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
"keywords": ["try", "etsy", "ci", "continuous integration"], | ||
"authors": [ | ||
{ | ||
"name": "Nassim Kammah", | ||
"email": "nkammah@etsy.com" | ||
}, | ||
{ | ||
"name": "Laura Beth Lincoln Denker" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.6.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": ">=5.5.0", | ||
"mikey179/vfsStream": "~1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"TryLib\\": "src/" | ||
} | ||
} | ||
} |
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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit backupGlobals="false" | ||
backupStaticAttributes="false" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
syntaxCheck="false"> | ||
<testsuites> | ||
<testsuite name="TryLib Test Suite"> | ||
<directory suffix=".php">./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> |
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
6 changes: 5 additions & 1 deletion
6
TryLib/JenkinsRunner/FreeStyleProject.php → src/JenkinsRunner/FreeStyleProject.php
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,5 +1,7 @@ | ||
<?php | ||
|
||
interface TryLib_PreCheck { | ||
namespace TryLib; | ||
|
||
interface Precheck { | ||
function check($cmd_runner, $location, $upstream); | ||
} |
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.