Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
f530a507
Commit
f530a507
authored
Nov 09, 2016
by
neilpang
Browse files
fix CI exit code
parent
439580b9
Changes
1
Show whitespace changes
Inline
Side-by-side
.travis.yml
View file @
f530a507
...
@@ -8,4 +8,4 @@ script:
...
@@ -8,4 +8,4 @@ script:
-
curl -sSL $SHFMT_URL -o ~/shfmt
-
curl -sSL $SHFMT_URL -o ~/shfmt
-
chmod +x ~/shfmt
-
chmod +x ~/shfmt
-
~/shfmt -l -w -i 2 .
-
~/shfmt -l -w -i 2 .
-
git diff --exit-code || echo "Run shfmt to fix the formatting issues"
-
git diff --exit-code ||
(
echo "Run shfmt to fix the formatting issues"
&&
false
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment