mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Fix up hypothesis uploader again
This commit is contained in:
parent
7df4333a77
commit
37ed28d849
1 changed files with 3 additions and 2 deletions
|
|
@ -1,13 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
GIT_COMMIT_PATH="$(dirname $0)/../.hypothesis/examples"
|
GIT_COMMIT_PATH="$(dirname $0)/../.hypothesis/examples"
|
||||||
|
|
||||||
if [ "$TRAVIS_PULL_REQUEST" = "false"]; then
|
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
||||||
echo "Not building on pull request."
|
echo "Not building on pull request."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
_is_dirty() {
|
_is_dirty() {
|
||||||
(! git diff-index --quiet HEAD $GIT_COMMIT_PATH) || [ "$(git status --porcelain $GIT_COMMIT_PATH | tail -n1)" != "" ]
|
(! git diff-index --quiet HEAD $GIT_COMMIT_PATH) || [ "$(git status --porcelain $GIT_COMMIT_PATH | tail -n1)" != "" ]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue