mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 20:27:28 +08:00
reset before running docker tests
This commit is contained in:
parent
46563082a9
commit
9e008047db
|
@ -16,6 +16,7 @@ end
|
||||||
|
|
||||||
unless ENV['NO_UPDATE']
|
unless ENV['NO_UPDATE']
|
||||||
puts "travis_fold:start:pulling_latest_discourse" if ENV["TRAVIS"]
|
puts "travis_fold:start:pulling_latest_discourse" if ENV["TRAVIS"]
|
||||||
|
run_or_fail("git reset --hard")
|
||||||
run_or_fail("git pull")
|
run_or_fail("git pull")
|
||||||
|
|
||||||
checkout = ENV['COMMIT_HASH'] || "HEAD"
|
checkout = ENV['COMMIT_HASH'] || "HEAD"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user