223 Commits

Author SHA1 Message Date
Xu Cheng
28f3dae8cd rename CoreFormulaRepository to CoreTap
Core tap will be separated from core code in the near future.
It makes sense to rename it to CoreTap.
2016-03-07 19:43:46 +08:00
Tim D. Smith
b4edf23a36 test-bot: make bottle stats visible by default
Closes Homebrew/homebrew#49620.
2016-02-28 09:51:14 -08:00
Xu Cheng
f92fc98ec0 test-bot: change directory for git rev-parse --verify 2016-01-17 15:06:07 +08:00
Xu Cheng
176f345386 test-bot: prevent formula building from source multiple times
After formula updates its bottle block, remove itself from changed
formulae list. Therefore, if it's requested next time as dependency, it
will be installed from bottle just created.

Closes Homebrew/homebrew#48121.

Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-17 14:52:09 +08:00
Xu Cheng
cb3379fcfa test-bot: all formula name are canonical now 2016-01-17 14:52:09 +08:00
Xu Cheng
edca96de04 test-bot: always use canonical formula name
Otherwise, we may get incorrect result when preforming set operations on
list of formula names.
2016-01-17 14:52:09 +08:00
Xu Cheng
b32d21fea0 test-bot: simplify Test#git 2016-01-17 14:52:09 +08:00
Xu Cheng
b73a6f195a test-bot: remove dead code 2016-01-17 14:52:09 +08:00
Xu Cheng
39eb93e0f5 test-bot: simplify Test#initialize 2016-01-17 14:52:09 +08:00
Xu Cheng
01b92edb7b test-bot: fix missing ? 2016-01-14 19:43:33 +08:00
Xu Cheng
e6159eb579 test-bot: always return tap object
Also simplify the code and add Travis auto detect.

Closes Homebrew/homebrew#48060
2016-01-14 19:32:53 +08:00
Dominyk Tiller
cbcfbacf22 test-bot: restore no-bottle support
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>
2016-01-12 22:16:59 +00:00
Mike McQuaid
d73a97be6b test-bot: print ARGV temporarily.
Will help debug possible Travis issues.
2015-12-29 11:55:49 +00:00
Mike McQuaid
618123e4bf test-bot: skip more building.
There should be no compilation happening with `--fast`.
2015-12-29 11:54:43 +00:00
Xu Cheng
51efa46fcc test-bot: enable coverage on travis 2015-12-21 12:14:48 +08:00
Xu Cheng
0f84b976ba move CoreFormulaRepository into separate file
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-19 22:05:30 +08:00
Mike McQuaid
c347d40f1b test-bot: allow tapuser/taprepo/tapformula format. 2015-12-11 20:16:05 +00:00
Xu Cheng
71e023a2c6 test-bot: fix resolve_test_tap 2015-12-11 21:46:02 +08:00
Xu Cheng
43713afa5f test-bot: remove dead code 2015-12-11 17:14:51 +08:00
Mike McQuaid
d48bdcdabb test-bot: remove ci-reset-and-update. 2015-12-11 08:48:59 +00:00
Xu Cheng
5773ca64c5 test-bot: fix Bintray url for bottle uploading 2015-12-11 16:19:51 +08:00
Mike McQuaid
65b197d2e0 test-bot: fix tap URL detection from Jenkins. 2015-12-11 08:10:59 +00:00
Mike McQuaid
e3dcf7776a Revert "test-bot: remove dead code."
This reverts commit 373da8666e633b06d8a5bb98621461b700f4b2d7.
2015-12-11 08:08:51 +00:00
Mike McQuaid
4b3056e2fc test-bot: fetch/audit formulae despite requirement
It's still useful to do a basic test even if requirements cannot be
satisfied.
2015-12-10 10:43:45 +00:00
Mike McQuaid
d2a44869f0 test-bot: remove dead code. 2015-12-10 10:43:45 +00:00
Xu Cheng
2c25303949 remove unnecessary tap_args
It's now handled by Tap.fetch
2015-12-09 16:56:59 +08:00
Mike McQuaid
7b26c585c2 test-bot: use uses --recursive.
Sometimes the linkage means the recursive dependencies also link to
libraries and need bumped.
2015-12-07 19:34:42 +00:00
Mike McQuaid
d603c03aa3 test-bot: more Jenkins Mavericks 1.8.7 fixes. 2015-12-07 14:08:55 +00:00
Mike McQuaid
f7d3710d12 test-bot: fix cleanup check.
HOMEBREW_RUBY_PATH is always set.
2015-12-07 13:48:28 +00:00
Mike McQuaid
3d3c3e0131 test-bot: don't cleanup the HOMEBREW_RUBY_PATH. 2015-12-07 13:30:37 +00:00
Mike McQuaid
5388f8c8f8 Travis: don't run cleanup at all. 2015-11-19 13:30:07 +00:00
Mike McQuaid
1a8f6388a6 test-bot: don't cleanup before on Travis.
As we may be using a Ruby 1.8 that this will delete.
2015-11-19 13:18:21 +00:00
Mike McQuaid
c6621faf18 travis: test 10.9 using Ruby 1.8.
Closes Homebrew/homebrew#45816.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-18 17:06:28 +00:00
Mike McQuaid
11a421948d test-bot: remove email support. 2015-11-18 10:28:04 +00:00
Xu Cheng
7f167963b3 test-bot: skip optional deps when computing formulae test order
Closes Homebrew/homebrew#45611.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-07 02:26:33 +08:00
Xu Cheng
ec114bb480 test-bot: cleanup bottle files in cache
Closes Homebrew/homebrew#45637.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-04 14:58:00 +08:00
Xu Cheng
20d38701b5 test-bot: hard link generated bottle file to HOMEBREW_CACHE 2015-11-04 14:58:00 +08:00
Mike McQuaid
09516e1613 test-bot: fix testing builds building everything.
We don't care about the formulae that have changed since the last commit
so just ignore it.
2015-10-20 12:29:28 +01:00
Xu Cheng
8755e91675 test-bot: remove duplicated conflicts unlinking 2015-10-20 14:54:10 +08:00
Xu Cheng
e13866f74a test-bot: install bottle unneeded formulae in --fast mode 2015-10-20 14:53:50 +08:00
Xu Cheng
1a0f64d5f8 test-bot: don't use --build-bottle flag if bottle disabled 2015-10-19 21:50:12 +08:00
Xu Cheng
c4067cf8bb test-bot: skip bottling if it's unneeded 2015-10-19 21:41:36 +08:00
Xu Cheng
79018e4e24 test-bot: remove unused --tap args for brew bottle 2015-10-15 16:25:17 +08:00
Xu Cheng
d162aab9c6 test-bot: ensure cleanup is running
Closes Homebrew/homebrew#44982.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-15 09:05:51 +01:00
Xu Cheng
c247a5b462 test-bot: merge formula's bottle before test
Fixes the bug described in
https://github.com/Homebrew/homebrew-science/pull/2866#issuecomment-148298146
2015-10-15 09:05:51 +01:00
Mike McQuaid
aeea953270 test-bot: readd missing --build-bottle. 2015-10-14 18:52:31 +01:00
Baptiste Fontaine
362da26ff6 test-bot: ensure install_passed is always defined 2015-10-14 17:40:14 +02:00
Mike McQuaid
667fa65be8 test-bot: make master builds faster.
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-14 14:01:11 +01:00
Xu Cheng
d1222971f6 test-bot: update diff_start_sha1 unconditionally
See bfab4b0e65db4667ab09159b1040701fa75ec687

Closes Homebrew/homebrew#44889.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-14 00:04:57 +08:00
Xu Cheng
ee332c4550 handle TapFormulaWithOldnameAmbiguityError
Closes Homebrew/homebrew#44705.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-08 16:02:33 +08:00