Export more Travis debugging and fix Git issue.
This commit is contained in:
parent
00480edf9d
commit
711e079901
@ -15,10 +15,12 @@ matrix:
|
|||||||
rvm: system
|
rvm: system
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
- sudo rm -rf /usr/local/.git
|
||||||
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
|
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
|
||||||
- export TRAVIS_BUILD_DIR="/usr/local"
|
- export TRAVIS_BUILD_DIR="/usr/local"
|
||||||
- sudo chown -R $USER /usr/local
|
- sudo chown -R $USER /usr/local
|
||||||
- cd /usr/local
|
- cd /usr/local
|
||||||
|
- env | grep TRAVIS_
|
||||||
- if [ -f ".git/shallow" ]; then travis_retry git fetch --unshallow; fi
|
- if [ -f ".git/shallow" ]; then travis_retry git fetch --unshallow; fi
|
||||||
- git reset --hard $TRAVIS_COMMIT
|
- git reset --hard $TRAVIS_COMMIT
|
||||||
- git clean -qxdff
|
- git clean -qxdff
|
||||||
|
|||||||
@ -354,6 +354,14 @@ module Homebrew
|
|||||||
@name = "#{@formulae.first}-#{diff_end_sha1}"
|
@name = "#{@formulae.first}-#{diff_end_sha1}"
|
||||||
end
|
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
|
@log_root = @brewbot_root + @name
|
||||||
FileUtils.mkdir_p @log_root
|
FileUtils.mkdir_p @log_root
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user