Commit 7d229514 authored by mercury233's avatar mercury233

test appveyor

parent cdb1d2b6
...@@ -22,18 +22,18 @@ for: ...@@ -22,18 +22,18 @@ for:
- master - master
after_build: | after_build: |
bash -c " bash -c " \
if [ -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" ]; then if [ -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" ]; then \
git fetch --depth 1 origin dump:dump git fetch --depth 1 origin dump:dump \
git checkout dump git checkout dump \
cp -rf dumps/* locales/ cp -rf dumps/* locales/ \
git config --global user.email $APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL git config --global user.email $APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL \
git config --global user.name $APPVEYOR_REPO_COMMIT_AUTHOR git config --global user.name $APPVEYOR_REPO_COMMIT_AUTHOR \
bash -c \"git commit -a -m '$APPVEYOR_REPO_COMMIT_MESSAGE' ; exit 0 \" bash -c \"git commit -a -m '$APPVEYOR_REPO_COMMIT_MESSAGE' ; exit 0 \" \
git config --global credential.helper store git config --global credential.helper store \
echo https://${access_token}:x-oauth-basic@github.com >> $HOME/.git-credentials echo https://${access_token}:x-oauth-basic@github.com >> $HOME/.git-credentials \
git push origin dump git push origin dump \
fi fi \
" "
cache: cache:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment