Skip to content
Snippets Groups Projects
Commit d1f802c3 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #2686 from MikeMcQuaid/remove-testbottest

Fix Linux build
parents 2f97b0ae 28cd0d38
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,9 @@ matrix:
rvm: 2.0.0
before_install:
- export HOMEBREW_NO_AUTO_UPDATE=1
- export HOMEBREW_DEVELOPER=1
- git clone --depth=1 https://github.com/Homebrew/homebrew-test-bot Library/Taps/homebrew/homebrew-test-bot
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
HOMEBREW_REPOSITORY="$(brew --repo)";
sudo chown -R "$USER" "$HOMEBREW_REPOSITORY/Library/Taps";
......@@ -24,7 +26,10 @@ before_install:
sudo rm -rf "$HOMEBREW_REPOSITORY";
sudo ln -s "$PWD" "$HOMEBREW_REPOSITORY";
else
git fetch --unshallow;
export PATH="$PWD/bin:$PATH";
rm -rf Library/Taps/homebrew/homebrew-test-bot/.git;
mv Library/Taps/homebrew/homebrew-test-bot Library/Taps/homebrew/homebrew-core;
umask 022;
fi
......
File deleted
class Testbottest < Formula
desc "Minimal C program and Makefile used for testing Homebrew."
homepage "https://github.com/Homebrew/brew"
url "file://#{File.expand_path("..", __FILE__)}/tarballs/testbottest-0.1.tbz"
sha256 "78b54d8f31585c9773bed12b4aa4ab2ce458ebd044b9406cb24d40aa5107f082"
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
assert_equal "testbottest\n", shell_output("#{bin}/testbottest")
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment