diff --git a/.travis.yml b/.travis.yml index ccf6d31b8..a3900b532 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ before_install: # push changes to git if any - git fetch --unshallow - git checkout master - - git add -A . && git commit -am "Importing pending sql" && git push https://$GITHUB_API_KEY@github.com/azerothcore/azerothcore-wotlk.git master; + - git diff --quiet --exit-code --cached && git add -A . && git commit -am "Importing pending sql" && git push https://$GITHUB_API_KEY@github.com/azerothcore/azerothcore-wotlk.git master; install: # install OS deps (apt-get)