From 9e008047db5cc75fe38f8413a42a68f5d3b603f8 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Wed, 3 Oct 2018 10:32:16 -0400 Subject: [PATCH] reset before running docker tests --- script/docker_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/script/docker_test.rb b/script/docker_test.rb index a8f3a1cf45f..4276d6512fa 100644 --- a/script/docker_test.rb +++ b/script/docker_test.rb @@ -16,6 +16,7 @@ end unless ENV['NO_UPDATE'] puts "travis_fold:start:pulling_latest_discourse" if ENV["TRAVIS"] + run_or_fail("git reset --hard") run_or_fail("git pull") checkout = ENV['COMMIT_HASH'] || "HEAD"