-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace athletic with phpbench #36
Conversation
28c4656
to
b93b9c6
Compare
.travis.yml
Outdated
@@ -7,11 +7,12 @@ php: | |||
before_script: | |||
- composer self-update | |||
- composer update | |||
- wget https://phpbench.github.io/phpbench/phpbench.phar https://phpbench.github.io/phpbench/phpbench.phar.pubkey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use a composer require
step in a separate build pipeline entry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copied doctrine/doctrine2
here, FYI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you prefer to require
in the travis step, or in composer.json
?
phpbench.json
Outdated
@@ -0,0 +1,13 @@ | |||
{ | |||
"bootstrap": "vendor/autoload.php", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 spaces :-P
phpbench.json
Outdated
"storage": "dbal", | ||
"storage.dbal.connection": { | ||
"driver": "pdo_sqlite", | ||
"path": "tests/DoctrineTest/InstantiatorPerformance/history.db" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't store the results unless this is committed to an alternate branch too
b0117e2
to
b30aed2
Compare
@Ocramius should be ok? |
b30aed2
to
2f3afb4
Compare
composer.json
Outdated
"ext-pdo": "*", | ||
"ext-phar": "*", | ||
"phpbench/phpbench": "^0.13.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bendavies to avoid not seeing different version ranges when installing phpbench
or php_codesniffer
, I suggest adding an explicit composer require
CLI statement in the respective pipeline entries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ocramius do you mean to require a specific version of the deps? e.g. exactly 0.13.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I mean adding a composer require
line to the install
step of the .travis.yml
build pipeline entries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. i'm not sure i know what you mean by to avoid not seeing different version ranges
though...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bendavies the point is that this lib is to be tested with all possible dependency ranges, so having a lot of dev dependencies means restricting those tested ranges. That's why I asked to move it from require-dev
to a CLI command ;-)
2f3afb4
to
99e49f6
Compare
99e49f6
to
34a5e5d
Compare
👍 🚢 Thanks @bendavies! |
🚅