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
ab045f33
Commit
ab045f33
authored
Jul 10, 2017
by
Dave Machado
Browse files
Update main script and Travis config
parent
3448c6cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
ab045f33
la
nguage
:
node_js
nguage
:
node_js
notifications
:
email
:
false
before_install
:
...
...
@@ -8,8 +8,8 @@ install:
before_script
:
-
cd build
script
:
-
main.sh
-
./
main.sh
after_success
:
-
build.sh
-
deploy.sh
-
./
build.sh
-
./
deploy.sh
build/main.sh
View file @
ab045f33
#!/bin/bash
echo
"running format validation..."
./validate.rb ../README.md
if
[
"
$?
"
==
0]
;
then
echo
"format validation PASSED"
else
echo
"format validation FAILED"
fi
if
[
"
$TRAVIS_BRANCH
"
==
"master"
]
then
echo
"running link validation..."
awesome_bot README.md
--allow-ssl
--allow
403,302
fi
./validate.rb ../README.md
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