Skip to content

Commit

Permalink
Export more Travis debugging and fix Git issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Sep 24, 2015
1 parent 00480ed commit 711e079
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ matrix:
rvm: system

before_install:
- sudo rm -rf /usr/local/.git
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
- export TRAVIS_BUILD_DIR="/usr/local"
- sudo chown -R $USER /usr/local
- cd /usr/local
- env | grep TRAVIS_
- if [ -f ".git/shallow" ]; then travis_retry git fetch --unshallow; fi
- git reset --hard $TRAVIS_COMMIT
- git clean -qxdff
Expand Down
8 changes: 8 additions & 0 deletions Library/Homebrew/cmd/test-bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,14 @@ def brew_update
@name = "#{@formulae.first}-#{diff_end_sha1}"
end

if ENV["TRAVIS"]
puts "name: #{@name}"
puts "url: #{@url}"
puts "hash: #{@hash}"
puts "diff_start_sha1: #{diff_start_sha1}"
puts "diff_end_sha1: #{diff_end_sha1}"
end

@log_root = @brewbot_root + @name
FileUtils.mkdir_p @log_root

Expand Down

0 comments on commit 711e079

Please sign in to comment.