aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/test-bot.rb
AgeCommit message (Collapse)Author
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
2016-08-17test-bot: assume Ruby 2.Mike McQuaid
2016-08-17Prepare for Homebrew Cask to be imported.Mike McQuaid
- ignore Cask's files in `readall` (for now, there's an intentional syntax error that will need fixed) - run Cask's tests if they exist - don't check Cask's files in coverage reports (for now)
2016-08-10Tweak HOMEBREW_NO_AUTO_UPDATE handling.Mike McQuaid
This can just live in `brew.sh` and then it doesn’t need repeated in all the other places.
2016-08-09test-bot: never auto-update.Mike McQuaid
2016-08-08Revert "test-bot: don't run cmd taps generic tests."Mike McQuaid
This reverts commit 24f7e671317dfe22f1d8e10426db2e9074674bc9.
2016-08-08test-bot: don't run cmd taps generic tests.Mike McQuaid
2016-08-06test-bot: avoid duplicate coverage reportsMartin Afanasjew
When running on Travis CI, both the Linux and macOS build will send a coverage report, causing them to be merged by Coveralls. This results in inferior coverage due to the early stage of the Linux-specific tests and is probably not what we want. Make sure we only send a report for macOS (assuming we stick with a single macOS build in `.travis.yml`).
2016-08-05various: eliminate the usage of `any?` (#638)Xu Cheng
`any?` is not the opposite of `empty?`. Besides the case that `[false, nil].any?` will return false, `any?`(O(n)) has much worse performance than `empty?`(O(1)).
2016-08-02audit: add --new-formula option.Mike McQuaid
Rather than nudge people to run `--strict` and then ignore some of the results sometimes (e.g. GitHub repository notability) instead add a dedicated `--new-formula` option that implies this is a one-time advisory check.
2016-07-29test-bot: fix non-OS X report generation.Mike McQuaid
2016-07-29Add missing development_tools requires.Mike McQuaid
2016-07-29test-bot: skip update-test on non-Mac.Mike McQuaid
2016-07-27test-bot: run all tests in generic mode.Mike McQuaid
2016-07-26test-bot: don't checkout/reset on --no-pullMike McQuaid
2016-07-19test-bot: fix coverage on Travis CIMartin Afanasjew
Make sure to call `brew tests` only once with `--coverage` to avoid expensive multiple runs and to prevent later runs from overwriting previously sent results to Coveralls. (The previous setup overwrote the results from a regular run with results from the `--generic` run.) The `--no-compat` variant without any other options specified seemed to be the most appropriate for a coverage report. Closes #546. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-16test-bot: re-add update-test. (#521)Mike McQuaid
2016-07-15test-bot: remove Jenkins Git debugging.Mike McQuaid
2016-07-15test-bot: more reset/cleanup tweaks.Mike McQuaid
2016-07-15test-bot: print out git commands on Jenkins.Mike McQuaid
2016-07-15test-bot: don't cleanup brew repo twice.Mike McQuaid
2016-07-14test-bot: start running generic tests. (#505)Mike McQuaid
* test-bot: start running generic tests. Start running the test suite in the "generic" mode i.e. a base layer for non-OS X platforms to be able to use to ensure we don't break the generic code for the parts of the code we've got running. Currently this just runs the integration tests as that's the only useful suite that's entirely passing but eventually this will be changed to run the full test suite in generic mode. * test_integration_cmds: fix tests on Linux.
2016-07-14test-bot: fix --no-pull flag.Mike McQuaid
2016-07-14test-bot: add --no-pull flag.Mike McQuaid
2016-07-14test-bot: don't pull if unnecessary (take two).Mike McQuaid
2016-07-14test-bot: don't pull if unnecessary.Mike McQuaid
2016-07-14test-bot: fix typo.Mike McQuaid
2016-07-14test-bot: don't run doctor when outside /usr/local.Mike McQuaid
2016-07-14test-bot: remove .git from Jenkins GIT_URLs.Mike McQuaid
2016-07-14test-bot: handle inconsistent Jenkins GIT_URLs.Mike McQuaid