-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix(travis): Hopefully let PRs run tests
Travis doesn't give PRs access to secure variables (for good reason), which means they can't connect to SauceLabs. These changes should prevent the build process from trying to run CI tests on PRs and instead just run local tests. Also coverage and release tasks should only run on master branch commits [skip ci]
- Loading branch information
Showing
4 changed files
with
29 additions
and
10 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 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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#!/bin/bash | ||
|
||
|
||
# Wait for Connect to be ready before exiting | ||
while [ ! -f $SAUCE_CONNECT_READY_FILE ]; do | ||
sleep .5 | ||
done | ||
if [ ! $TRAVIS_PULL_REQUEST ] | ||
then | ||
# Wait for Connect to be ready before exiting | ||
while [ ! -f $SAUCE_CONNECT_READY_FILE ]; do | ||
sleep .5 | ||
done | ||
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
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