Disable Travis build on temporary commit.

When pushing a commit, with the `gwip` command, it should not be build.
This commit is contained in:
Michiel Missotten 2014-02-19 12:20:09 +01:00
commit b55f28eeba

View file

@ -147,8 +147,8 @@ function work_in_progress() {
fi fi
} }
# these alias commit and uncomit wip branches # these alias commit and uncomit wip branches
alias gwip='git add -A; git ls-files --deleted -z | xargs -0 git rm; git commit -m "--wip--"' alias gwip='git add -A; git ls-files --deleted -z | xargs -0 git rm; git commit -m "--wip-- [skip ci]"'
alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1' alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\- \[skip ci\]" && git reset HEAD~1'
# these alias ignore changes to file # these alias ignore changes to file
alias gignore='git update-index --assume-unchanged' alias gignore='git update-index --assume-unchanged'