aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/test-bot.rb
AgeCommit message (Collapse)Author
2016-01-17test-bot: simplify Test#initializeXu Cheng
2016-01-14test-bot: fix missing ?Xu Cheng
2016-01-14test-bot: always return tap objectXu Cheng
Also simplify the code and add Travis auto detect. Closes Homebrew/homebrew#48060
2016-01-12test-bot: restore no-bottle supportDominyk Tiller
This feature is still quite useful, particularly because of the somewhat buggy behaviour of `default_formula` which means when attempting to build a bottle it'll attempt to force the installation of that formula. That is particularly problematic for taps like homebrew/homebrew-fuse because the `default_formula` in osxfuse conflicts with the osxfuse binary we install via the Caskroom, which is actively breaking every CI build. Closes Homebrew/homebrew#48000. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-12-29test-bot: print ARGV temporarily.Mike McQuaid
Will help debug possible Travis issues.
2015-12-29test-bot: skip more building.Mike McQuaid
There should be no compilation happening with `--fast`.
2015-12-21test-bot: enable coverage on travisXu Cheng
2015-12-19move CoreFormulaRepository into separate fileXu Cheng
For users whose local brew is at around 2015-06-11 to 2015-08-06, running `brew update` will emit following error: Error: uninitialized constant Formulary::CoreFormulaRepository This is caused by the same bug described in Homebrew/homebrew#42553. This commit workarounds this issue and restores `brew update` compatibility for users mentioned above. Also cleanup legacy `require "cmd/tap"`.
2015-12-11test-bot: allow tapuser/taprepo/tapformula format.Mike McQuaid
2015-12-11test-bot: fix resolve_test_tapXu Cheng
2015-12-11test-bot: remove dead codeXu Cheng
2015-12-11test-bot: remove ci-reset-and-update.Mike McQuaid
2015-12-11test-bot: fix Bintray url for bottle uploadingXu Cheng
2015-12-11test-bot: fix tap URL detection from Jenkins.Mike McQuaid
2015-12-11Revert "test-bot: remove dead code."Mike McQuaid
This reverts commit 373da8666e633b06d8a5bb98621461b700f4b2d7.
2015-12-10test-bot: fetch/audit formulae despite requirementMike McQuaid
It's still useful to do a basic test even if requirements cannot be satisfied.
2015-12-10test-bot: remove dead code.Mike McQuaid
2015-12-09remove unnecessary tap_argsXu Cheng
It's now handled by Tap.fetch
2015-12-07test-bot: use `uses --recursive`.Mike McQuaid
Sometimes the linkage means the recursive dependencies also link to libraries and need bumped.
2015-12-07test-bot: more Jenkins Mavericks 1.8.7 fixes.Mike McQuaid
2015-12-07test-bot: fix cleanup check.Mike McQuaid
HOMEBREW_RUBY_PATH is always set.
2015-12-07test-bot: don't cleanup the HOMEBREW_RUBY_PATH.Mike McQuaid
2015-11-19Travis: don't run cleanup at all.Mike McQuaid
2015-11-19test-bot: don't cleanup before on Travis.Mike McQuaid
As we may be using a Ruby 1.8 that this will delete.
2015-11-18travis: test 10.9 using Ruby 1.8.Mike McQuaid
Closes Homebrew/homebrew#45816. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-18test-bot: remove email support.Mike McQuaid
2015-11-07test-bot: skip optional deps when computing formulae test orderXu Cheng
Closes Homebrew/homebrew#45611. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04test-bot: cleanup bottle files in cacheXu Cheng
Closes Homebrew/homebrew#45637. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04test-bot: hard link generated bottle file to HOMEBREW_CACHEXu Cheng
2015-10-20test-bot: fix testing builds building everything.Mike McQuaid
We don't care about the formulae that have changed since the last commit so just ignore it.
2015-10-20test-bot: remove duplicated conflicts unlinkingXu Cheng
2015-10-20test-bot: install bottle unneeded formulae in --fast modeXu Cheng
2015-10-19test-bot: don't use `--build-bottle` flag if bottle disabledXu Cheng
2015-10-19test-bot: skip bottling if it's unneededXu Cheng
2015-10-15test-bot: remove unused --tap args for brew bottleXu Cheng
2015-10-15test-bot: ensure cleanup is runningXu Cheng
Closes Homebrew/homebrew#44982. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-15test-bot: merge formula's bottle before testXu Cheng
Fixes the bug described in https://github.com/Homebrew/homebrew-science/pull/2866#issuecomment-148298146
2015-10-14test-bot: readd missing --build-bottle.Mike McQuaid
2015-10-14test-bot: ensure install_passed is always definedBaptiste Fontaine
2015-10-14test-bot: make master builds faster.Mike McQuaid
Just do a few things rather than doing e.g. a full compile. Closes Homebrew/homebrew#44936. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-14test-bot: update diff_start_sha1 unconditionallyXu Cheng
See bfab4b0e65db4667ab09159b1040701fa75ec687 Closes Homebrew/homebrew#44889. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-08handle TapFormulaWithOldnameAmbiguityErrorXu Cheng
Closes Homebrew/homebrew#44705. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-30cache tapsXu Cheng
There are plenty of IO operations inside Tap object, and it will be more when implementing formula alias reverse look up(e.g. list all of alias names for a formula). So let's cache them. Some benchmark: $ time brew info $(brew ruby -e 'puts Formula.tap_names') > /dev/null Before: 6.40s user 2.42s system 96% cpu 9.134 total After: 4.75s user 0.77s system 97% cpu 5.637 total Closes Homebrew/homebrew#44377. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-28test-bot: fix start_revision for TravisXu Cheng
When a PR is merged during the test, the commit tree will be looked like this: master PR \ / \ / | root The start_revision will be poined to the commit used to merging PR, instead of common root commit. As result, `git diff-tree start end` will list file changes both in PR and master branch, which later contributes to additional formulae are tested in some Travis builds. To fix the problem, we use `git merge-base` to get common ancestor as the real start_revision. Closes Homebrew/homebrew#44379. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-25test-bot: add comments, tweak argument handling.Mike McQuaid
2015-09-24travis: run --ci-master for non-PRXu Cheng
Closes Homebrew/homebrew#44302. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-24Export more Travis debugging and fix Git issue.Mike McQuaid
2015-09-23test-bot: use IO#read instead of IO#getsXu Cheng
IO#gets will only return for every new lines, which will be bad for `brew install` since we print dots in single line. Closes Homebrew/homebrew#44264. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-23Formula#system: print dot for travisXu Cheng
2015-09-23test-bot: configure log lines instead of verbose.Mike McQuaid
The `--verbose` seems to cause some issues with compiling software like `boost` under Xcode 7.