161 Commits

Author SHA1 Message Date
Xu Cheng
badea99097 test-bot: fix bottle uploading 2015-09-18 22:09:04 +08:00
Xu Cheng
9e2c0601e3 test-bot: fix bottle uploading 2015-09-18 22:08:07 +08:00
Xu Cheng
347a215361 test-bot: better fold id for travis
* Only use first two word in command to keep id short
* Append unique number in the id.

Closes Homebrew/homebrew#44104.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-18 22:04:24 +08:00
Xu Cheng
4114a75039 test-bot: add sanitize_ARGV_and_ENV
Closes Homebrew/homebrew#44102.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-18 21:54:02 +08:00
Xu Cheng
8228993624 test-bot: make ci-upload a standalone method 2015-09-18 21:54:02 +08:00
Xu Cheng
70d31838c6 test-bot: use tap object 2015-09-18 21:54:01 +08:00
Xu Cheng
658bdc2565 test-bot: make ci-reset-and-update a standalone method 2015-09-18 21:54:01 +08:00
Xu Cheng
a6c5fca3a9 test-bot: use ruby method instead of shellout to remove files 2015-09-18 21:54:01 +08:00
Xu Cheng
896ba576cc test-bot: tweak output for travis
Closes Homebrew/homebrew#44098.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-18 19:22:23 +08:00
Mike McQuaid
fab6b6c19d test-bot: fix syntax error. 2015-09-18 11:56:03 +01:00
Mike McQuaid
1d4c99e008 test-bot: do fewer unnecessary brew updates. 2015-09-18 11:23:53 +01:00
Mike McQuaid
70d2da0364 test-bot: don't mark every job as failed. 2015-09-18 10:40:36 +01:00
Mike McQuaid
07e550d525 test-bot: unify, fix Travis and Jenkins output. 2015-09-18 10:28:35 +01:00
Mike McQuaid
e39cd2e9b2 test-bot: use Travis CI environment variables. 2015-09-18 09:54:29 +01:00
Mike McQuaid
71198041c6 test-bot: fix handling hash/url arguments. 2015-09-14 09:07:12 +01:00
Xu Cheng
71f6d2d165 test-bot: always run brew tests 2015-09-12 22:15:23 +08:00
Xu Cheng
14bb9accdf test-bot: run update-test
Closes Homebrew/homebrew#43648.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-12 19:15:46 +08:00
Xu Cheng
849f378d6a test-bot: only run necessary test for tap 2015-09-12 19:15:46 +08:00
Xu Cheng
7ce0a2dedb test-bot: check ARGV.include?("--skip-homebrew") once 2015-09-11 22:44:00 +08:00
Xu Cheng
e52a12a8b5 test-bot: fix syntax error 2015-09-11 22:36:27 +08:00
Mike McQuaid
96be0c2724 test-bot: skip some unnecessary tests. 2015-09-11 15:29:16 +01:00
Mike McQuaid
3e12ffa6a7 test-bot: support uploading keep-old bottles. 2015-09-11 15:09:24 +01:00
Mike McQuaid
664e9e844a test-bot: add keep-old argument.
Will be useful for creating El Capitan bottles.
2015-09-11 10:15:21 +01:00
Mike McQuaid
312abc620c test-bot: don't output bottle output on success.
This can be extremely verbose and destroys the log. Instead look for
this in the Jenkins build test results.
2015-09-09 09:36:40 +01:00
Xu Cheng
7f3e3b5256 test-bot: check aliases 2015-09-06 20:15:37 +08:00
Tim D. Smith
c2dfcf913d test-bot: don't consider optional deps for compiler selection
Fixes test-bot mishandling of optional cross-tap dependencies. Without
this change, since formula.stable.deps includes the optional dependencies but
formula.recursive_dependencies does not, test-bot was trying to select a
compiler for an untapped formula, which raised an error.

Our suspect handling of optional dependencies was exposed by Homebrew/homebrew#43145 /
7184348e822d6745d8a103de104ff9626536bf1e.

Closes Homebrew/homebrew#43237.
2015-08-27 00:27:31 -07:00
Xu Cheng
ac71386373 test-bot: tap TapDependency recursively
Closes Homebrew/homebrew#43145.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-21 15:17:21 +08:00
Xu Cheng
a380ec636e enable sandbox on test-bot
Closes Homebrew/homebrew#43014.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-17 14:12:11 +08:00
Mike McQuaid
83ab0acfc0 test-bot: remove custom $HOME on --cleanup. 2015-08-13 10:55:29 +01:00
Mike McQuaid
2fc88ae247 test-bot: prune cache after 7 days.
Closes Homebrew/homebrew#42892.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-13 08:57:20 +01:00
Xu Cheng
907dffcf04 test-bot: check file extname when calculating formulae diff
Closes Homebrew/homebrew#42806.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-11 18:14:27 +01:00
Mike McQuaid
3350f9018a test-bot: run git gc on cleanup.
Closes Homebrew/homebrew#42805.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-11 18:06:07 +01:00
Xu Cheng
b121e5fd7b more core file style updated by rubocop 2015-08-06 17:23:56 +08:00
Baptiste Fontaine
1bb9c56e9c test-bot: run postinstall on dependencies
Closes Homebrew/homebrew#36027.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-05 20:24:06 +02:00
BrewTestBot
13d544e11e Core files style updates.
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Dominyk Tiller
68b865fcb1 Revert a33c5b9121e66aa650d9d0fc5814202bd26154d0
Revert: "test-bot: ensure from-source initial installation"

This reverts commit a33c5b9121e66aa650d9d0fc5814202bd26154d0.

You know when your fix ends up causing another problem that you then have to
go fix as well? Yup...
2015-07-30 10:14:44 +01:00
Dominyk Tiller
c6e3a0240a test-bot: ensure from-source initial installation 2015-07-23 22:29:03 +01:00
Xu Cheng
9e6f1412ad test-bot: run brew tests in no-compat mode
Closes Homebrew/homebrew#42009.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 20:27:02 +08:00
Xu Cheng
60600c824c test-bot: build bottle with verbose
It will print out what stops bottle being relocatable.

Closes Homebrew/homebrew#41958.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-22 15:12:23 +08:00
Andy Blyler
653053f184 test-bot: handle conflicted formulas and unlinked dependencies
these changes are primarily needed for php tap pull requests, as they usally contain multiple formulas depend on conflicting php versions:
- unlink any conflicted formulas
- link any dependencies that are installed and not linked

Closes Homebrew/homebrew#41602.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-20 08:34:53 +01:00
Mike McQuaid
3ac6005931 audit: add --online flag.
Also add it to the manpage and brew-test-bot.

Closes Homebrew/homebrew#41516.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-09 14:50:55 +01:00
Xu Cheng
4443a87524 stop setting root_url for offical taps' bottles 2015-07-06 18:04:59 +08:00
Mike McQuaid
9c7b3b02ce test-bot: always do a git clean -ffdx
This ensures that all nested Git repositories (e.g. taps) are also
deleted. Previously this wasn't needed as we could just rely on the
symlinks in `Library/Formula` being missing but since Xu's good work
this inadvertedly made the bot's `brew uses foo` start showing things
from taps we hadn't previously deleted.
2015-06-13 18:35:19 +01:00
Xu Cheng
c6e1090c43 requirement: allow access default_formula directly 2015-06-07 20:32:45 +08:00
Xu Cheng
517ced731c test-bot: use bottle_resolve_formula_names
Closes Homebrew/homebrew#40134.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-02 16:45:44 +08:00
Xu Cheng
296ca61510 test-bot: simplify the upload logic
If the bottle is already published, let's fail directly.
Also silent the curl output.

Closes Homebrew/homebrew#40295.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-02 15:41:12 +08:00
Xu Cheng
6d93eee8bb test-bot: allow overwrite unpublished bottles
Closes Homebrew/homebrew#40260.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-01 18:14:28 +08:00
Mike McQuaid
66aae02527 test-bot: tweak bottle uploading. 2015-05-30 11:40:48 +01:00
Xu Cheng
d8f9bfa730 test-bot: remove obsolete tap --repair 2015-05-30 16:04:03 +08:00
Xu Cheng
85924eaf9f test-bot: use Formula#full_name 2015-05-29 17:02:23 +08:00