forked from loopbackio/loopback-next
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: move travis tasks to .travis.yml to get timing info
Our CI build is becoming too long, it takes 7-10 minutes for a single worker to finish. This commit is changing the configuration of Travis CI in such way that individual build steps are defined in a way that allows the CI server to understand them and measure how long they take.
- Loading branch information
Showing
4 changed files
with
23 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# Test LoopBack.io will build if changes made to @loopback/docs | ||
echo "TASK => VERIFY DOCS" | ||
if git diff --name-only --quiet $TRAVIS_BRANCH docs/; then | ||
echo "No changes to @loopback/docs in this PR" | ||
exit 0 | ||
else | ||
echo "Testing @loopback/docs" | ||
npm run verify:docs | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters