Skip to content
This repository was archived by the owner on Feb 16, 2019. It is now read-only.

Merge branch homebrew/master into linuxbrew/master #97

Closed
wants to merge 12 commits into from
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: c
language: ruby
rvm: system
cache:
directories:
- $HOME/Library/Caches/Homebrew/style
Expand All @@ -12,10 +13,8 @@ matrix:
fast_finish: true
include:
- os: osx
compiler: clang
osx_image: xcode9.2
osx_image: xcode9.4
- os: linux
compiler: gcc
sudo: false

before_install:
Expand Down
5 changes: 2 additions & 3 deletions cmd/brew-test-bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ def test_ci_upload(tap)
bottle_hash["bottle"]["tags"].each_value do |tag_hash|
filename = tag_hash["filename"]
bintray_filename_url =
"#{BottleSpecification::DEFAULT_DOMAIN}/#{bintray_repo}/#{filename}"
"#{HOMEBREW_BOTTLE_DOMAIN}/#{bintray_repo}/#{filename}"
filename_already_published = if ARGV.include?("--dry-run")
puts "curl -I --output /dev/null #{bintray_filename_url}"
false
Expand Down Expand Up @@ -1535,7 +1535,6 @@ def sanitize_argv_and_env
ENV["HOMEBREW_DEVELOPER"] = "1"
ENV["HOMEBREW_NO_AUTO_UPDATE"] = "1"
ENV["HOMEBREW_NO_EMOJI"] = "1"
ENV["HOMEBREW_LINKAGE_CACHE"] = "1"
ENV["HOMEBREW_FAIL_LOG_LINES"] = "150"
ENV["PATH"] =
"#{HOMEBREW_PREFIX}/bin:#{HOMEBREW_PREFIX}/sbin:#{ENV["PATH"]}"
Expand All @@ -1559,7 +1558,7 @@ def sanitize_argv_and_env

# Only report coverage if build runs on macOS and this is indeed Homebrew,
# as we don't want this to be averaged with inferior Linux test coverage.
if OS.mac? && MacOS.version == :sierra && (ENV["CODECOV_TOKEN"] || travis)
if OS.mac? && MacOS.version == :high_sierra && (ENV["CODECOV_TOKEN"] || travis)
ARGV << "--coverage"
end

Expand Down