aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/test-bot.rb
AgeCommit message (Collapse)Author
2016-09-23Merge pull request #1100 from MikeMcQuaid/test-bot-etc-var1.0.3Mike McQuaid
test-bot: cleanup etc/var after each build.
2016-09-23Fix Style/IfUnlessModifier.Markus Reiter
2016-09-23Fix Style/NumericLiterals.Markus Reiter
2016-09-23Fix Style/Next.Markus Reiter
2016-09-23test-bot: cleanup Cellar/etc/var after each build.Mike McQuaid
This has been causing issues when bottling files that are installed to these paths due to the diff algorithm we use for figuring out whether files installed into etc/var belong to a given bottle. Additionally, sometimes not all formulae were uninstalled which meant `brew doctor` would fail.
2016-09-20test-bot: always update to tag for taps.Mike McQuaid
2016-09-20test-bot: always set PATH to HOMEBREW_PREFIX.Mike McQuaid
Set the `PATH` to always have the `bin` and `sbin` for the current `HOMEBREW_PREFIX` at the beginning.
2016-09-19test-bot: brew prune after removing formulae.Mike McQuaid
2016-09-19test-bot: run `brew style`.Mike McQuaid
2016-09-18test-bot: uninstall all formula on cleanup.Mike McQuaid
Need to do this manually now that we can't rely on `git clean -xdf` to do it for us.
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-17test-bot: generate coverage reports on Sierra.Mike McQuaid
We may have two Sierra nodes available which could speed up this relatively slow operation.
2016-09-16update-test: handle missing master branch.Mike McQuaid
Ensure it's always created. Also, re-order `update-test` in `test-bot` (and `readall`) so they are run before the test suites.
2016-09-16Send coverage from Jenkins, don't run OS X Travis.Mike McQuaid
OS X Travis CI is particularly error-prone, slow and unnecessary for us when we're already running (fast) OS X builds on Jenkins so use it just for Linux testing.
2016-09-13test-bot: fix test default formula handling.Mike McQuaid
Move the test default formula handling to after all the other formulae additions are so it'll only be added if no formulae are detected already in a PR.
2016-09-13test-bot: don't run Homebrew tests for taps PRs.Mike McQuaid
Check the repository directly rather than @test_default_formula.
2016-09-13test-bot: also build testing bottle.Mike McQuaid
2016-09-13test-bot: default to building testbottest.Mike McQuaid
This provides an integration test for `test-bot.rb` by performing compilation of an actual formula.
2016-09-12Merge pull request #947 from zmwangx/fix-test-bot-descZhiming Wang
test-bot: fix summary
2016-09-12test-bot: fix summaryZhiming Wang
2016-09-12test-bot: fix bottling non-testing jobs.Mike McQuaid
Need to handle when the `BOT_PARAMS` are `nil`.
2016-09-12test-bot: fix multiline regex.Mike McQuaid
2016-09-12test-bot: fix regex placement.Mike McQuaid
2016-09-12Merge pull request #929 from MikeMcQuaid/test-bot-jenkinsfileMike McQuaid
test-bot: handle more Jenkins configurations.
2016-09-11test-bot: handle more Jenkins configurations.Mike McQuaid
Used in trying to use a `Jenkinsfile`.
2016-09-11dev-cmd/test-bot: fix Rubocop warnings.Mike McQuaid
2016-09-11test-bot: don't try to `git clean` any taps.Mike McQuaid
Also, unify the cleanup code and be more careful and consistent with untapping.
2016-09-11test-bot: try again to fix homebrew/core untap.Mike McQuaid
Be more selective with the `git clean` and remove the broken attempt to autotap if missing (as it'd be slow anyway).
2016-09-11test-bot: --ci-upload can upload from current dir.Mike McQuaid
Look in the current directory rather than only allowing upload from Jenkins.
2016-09-08Add `--help` to all developer commands.Mike McQuaid
Also, flag those that we never want to be in a manpage.
2016-09-07test-bot: separate tap/core no formula handling.Mike McQuaid
`e.tap` calls the tap method which wants a block on `FormulaUnavailableError` so the previous approach is :-1:.
2016-09-07test-bot: handle missing tap in exception.Mike McQuaid
Handle the case where a `FormulaUnavailableError` does not contain a tap reference so fall back to `CoreTap` in this case.
2016-09-07test-bot: put exception, retry on missing formula.Mike McQuaid
This will be useful in debugging (and recovering from) the situation where sometimes formulae can't be found when specifying multiple on the command-line.
2016-09-06test-bot: tweak cleaning behaviour again.Mike McQuaid
Always run `git clean -ffdx` on HOMEBREW_REPOSITORY. Also, ensure that if we can't find a formula that's logged.
2016-09-06test-bot: git clean less in cleanup_*.Mike McQuaid
There's edge-cases which is breaking tap CI.
2016-09-05test-bot: never cleanup homebrew/core.Mike McQuaid
Otherwise weird things happen and formulae can't be found.
2016-09-04test-bot: use UPSTREAM_BOTTLE_KEEP_OLD.Mike McQuaid
This is set by Jenkins to indicate a downstream bottle upload job needs to use `brew bottle --keep-old`.
2016-09-04Merge pull request #869 from MikeMcQuaid/test-bot-cleanup-all-tapsMike McQuaid
test-bot: cleanup all repositories.
2016-09-04test-bot: cleanup all repositories.Mike McQuaid
The test bot currently only focuses on doing cleanup on the current tap and the HOMEBREW_REPOSITORY. This should be extended to cover all repositories as e.g. a syntax error in homebrew/core can break the CI for all the other taps.
2016-09-04test-bot: add missing @tap check.Mike McQuaid
2016-09-03test-bot: don't run brew tests etc. when formulae.Mike McQuaid
If there's formulae changes or the specified argument is a formula then don't waste time running e.g. `brew tests`.
2016-09-01Merge pull request #773 from reitermarkus/report-cask-coverageMike McQuaid
Also report Cask coverage.
2016-08-28test-bot: use --full-name in brew deps invocationSteven Peters
This allows changed formulae in taps to be tested in the proper order. See #738 for more details.
2016-08-27Also report Cask coverage.Markus Reiter
2016-08-26Remove `exist?` check for `brew-cask-tests.rb`.Markus Reiter
2016-08-20Enable ruby-macho by default.William Woodruff
Flips HOMEBREW_RUBY_MACHO to HOMEBREW_NO_RUBY_MACHO.
2016-08-18Rename bottle's revision to rebuild.Mike McQuaid
2016-08-18remove ruby 1.8 compatible codesXu Cheng
2016-08-17test-bot: tap cask before cask-tests.Mike McQuaid
2016-08-17Merge pull request #724 from MikeMcQuaid/assume-ruby-twoMike McQuaid
Assume Ruby 2