Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
2d3bace6
Commit
2d3bace6
authored
Jul 10, 2017
by
Dave Machado
Committed by
GitHub
Jul 10, 2017
Browse files
Update exit code check for format validation
parent
42e2bdc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/main.sh
View file @
2d3bace6
...
...
@@ -3,10 +3,11 @@
echo
"running format validation..."
./validate.rb ../README.md
if
[
"
$?
"
==
0]
;
then
echo
"format validation PASSED"
if
[[
$?
!=
0
]]
;
then
echo
"format validation failed!"
exit
$?
else
echo
"format validation
FAILED
"
echo
"format validation
passed!
"
fi
if
[
"
$TRAVIS_BRANCH
"
==
"master"
]
;
then
...
...
Write
Preview
Supports
Markdown
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