reset before running docker tests

This commit is contained in:
Penar Musaraj 2018-10-03 10:32:16 -04:00
parent 46563082a9
commit 9e008047db

View File

@ -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"