47 Commits

Author SHA1 Message Date
Mike McQuaid
26b80ecccc test-bot: improve output of dependent testing. 2015-01-09 11:35:03 +00:00
Mike McQuaid
424ded8fdb test-bot: ignore changed dependents. 2015-01-09 11:35:03 +00:00
Shaun Jackman
c01e6b81d3 test-bot: do not --cleanup outside CI.
Closes Homebrew/homebrew#35424.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-02 09:50:28 +00:00
Mike McQuaid
4d584d37f7 test-bot: don't try to retap TapDependency taps. 2014-12-29 12:28:43 +00:00
Mike McQuaid
95ccf53a49 test-bot: tap TapDependency's tap. 2014-12-29 12:20:30 +00:00
Mike McQuaid
eb51f8a5fa test-bot: init added/modified formulae arrays. 2014-12-29 07:55:01 +00:00
Mike McQuaid
bff259330c test-bot: clean up harder on failure (before). 2014-12-29 07:51:50 +00:00
Mike McQuaid
8c19b2a13e test-bot: clean harder if first clean fails. 2014-12-28 18:17:12 +00:00
Mike McQuaid
af4a156885 test-bot: tweak readability. 2014-12-28 18:17:02 +00:00
Mike McQuaid
b5439b6f7a test-bot: check if dependents are installed.
Before fetching or installing with no args.
2014-12-28 18:16:49 +00:00
Mike McQuaid
b3a15ad6ef test-bot: use audit --strict on added formulae. 2014-12-27 13:03:40 +00:00
Mike McQuaid
f9917768a9 test-bot: fix use of select!. 2014-12-23 20:19:45 +00:00
Mike McQuaid
f475f750f9 test-bot: test bottled dependents.
Test everything that `brew uses` a formula, has a bottle and a test.

This should allow some quick gains in terms of spotting formulae that may need
revisioned to avoid problems with shifting dependencies. As the test-bot lives
in a data centre with (very) fast internet the fetch and extraction time
shouldn't slow things down much.

Closes Homebrew/homebrew#35092.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-23 19:14:30 +00:00
Jack Nagel
c06fe57b04 Use FileUtils instead of shelling out to cp 2014-12-07 14:38:42 -05:00
Jack Nagel
f0e01a0578 Use add_attribute method instead of accessing attributes hash 2014-12-02 21:14:53 -05:00
Jack Nagel
b9474dfc42 Simplify appending CDATA 2014-12-02 21:14:53 -05:00
Jack Nagel
a463caae36 Combine conditionals 2014-12-02 21:14:52 -05:00
Mike McQuaid
13b770246a test-bot: more support for bottling taps. 2014-11-24 08:26:43 +00:00
Mike McQuaid
62815f4b3d test-bot: more tap upload improvements. 2014-11-23 16:59:54 +00:00
Mike McQuaid
c925c22158 test-bot: tap before attempting upload. 2014-11-23 16:50:19 +00:00
Mike McQuaid
342b09b855 test-bot: fix indentation. 2014-11-23 14:41:48 +00:00
Mike McQuaid
ed30b04911 test-bot: fix tap-from-url regex usage. 2014-11-23 14:38:40 +00:00
Mike McQuaid
00f0644106 test-bot: improve tap building.
- allow using (UPSTREAM_)GIT_URL to find the tap name
- push bottles to a remote based on the tap name
2014-11-23 14:11:46 +00:00
Mike McQuaid
395d798bc2 brew-test-bot: check default_formula requirements.
This handles the case where e.g. a default_formula cannot be installed
on Yosemite which causes the build to fail.
2014-11-18 16:43:13 +00:00
Jack Nagel
24f1a6e9fc Run test-bot logs through iconv on Ruby 1.8 2014-11-18 01:22:42 -06:00
Jack Nagel
a9e34b0ee2 UTF-8 to UTF-16 should never raise UndefinedConversionError 2014-11-18 01:22:25 -06:00
Jack Nagel
7f230dfaf8 Suppress encoding errors in test-bot log files 2014-11-18 00:41:52 -06:00
Jack Nagel
ab0368cb34 test-bot: make variable names consistent with other code 2014-11-10 20:49:47 -06:00
Jack Nagel
001c9baa7f Don't record the test if initialization fails
When Test.new raises an ArgumentError, nil will be pushed onto the tests
array, and then methods will be called on nil when we iterate over the
tests while building the XML output.
2014-11-10 19:28:17 -06:00
Jack Nagel
bf53f3fd16 Less code in begin block 2014-11-10 19:27:31 -06:00
Mike McQuaid
1eb74cb419 test-bot: handle changed bottled dependencies. 2014-11-07 21:48:55 +00:00
Mike McQuaid
27c1a67ed6 brew-test-bot: add fail-fast option.
Allows easier testing of failures due to bad state.
2014-10-27 13:02:30 +00:00
Mike McQuaid
cd528e7203 brew-test-bot: tweak pull request diff detection.
Avoid accidentally including more changes than was intentional.
2014-10-26 12:34:09 +00:00
Mike McQuaid
a094dbe2bb brew-test-bot: just use ci-upload flag.
Can combine testing and PR upload jobs into a single one.
2014-10-24 14:27:04 +01:00
Mike McQuaid
3e8c6c8e67 brew-test-bot: start generalization of uploaders. 2014-10-24 13:57:00 +01:00
Mike McQuaid
d56a2751a1 brew-test-bot: always base URL tests on master. 2014-10-22 09:32:19 +01:00
Mike McQuaid
5c88e8d654 brew-test-bot: be more resilient to bad arguments. 2014-10-21 15:34:20 +01:00
Mike McQuaid
0cc259613b brew-test-bot: keep running after a single error. 2014-10-21 12:12:24 +01:00
Mike McQuaid
b91b23f8d0 brew-test-bot: set HOME.
Stop dumping files in the real HOME and allow Jenkins to handle
workspace cleanup instead.
2014-10-19 13:33:41 +01:00
Mike McQuaid
ecc09cee7e brew-test-bot: always repair taps when tapping. 2014-10-17 09:28:01 +01:00
Mike McQuaid
f82efb9d76 brew-test-bot: fix pull request URLs. 2014-10-16 22:06:46 +01:00
Mike McQuaid
358fd0ca19 brew-test-bot: use Jenkins PR plugin provided URL. 2014-10-16 21:42:55 +01:00
Mike McQuaid
d1ab9fc682 brew-test-bot: fix tap directory naming. 2014-10-16 20:00:52 +01:00
Mike McQuaid
7312b4a1a4 brew-test-bot: truncate output to 1MB. 2014-10-16 10:28:51 +01:00
Jack Nagel
1c71fb4287 Drop executable bits from imported commands
Closes Homebrew/homebrew#32743.
2014-09-27 23:57:03 -05:00
Mike McQuaid
7989b2169f brew-test-bot: fix error detection logic. 2014-09-24 15:22:46 -07:00
Mike McQuaid
b7c9025d93 brew-test-bot: make an internal command. 2014-09-24 15:22:37 -07:00