Skip to content

Commit

Permalink
feat: enable ci for 3.6.0 branch (#1580)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Jun 7, 2019
1 parent 8da58a9 commit d77254c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ branches:
only:
- master
- next
- 3.6.0

matrix:
fast_finish: true
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/browserstack/stop-tunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ set -e -o pipefail

echo "Shutting down Browserstack tunnel"

killall BrowserStackLocal
pkill BrowserStack

while [[ -n `ps -ef | grep "BrowserStackLocal" | grep -v "grep"` ]]; do
printf "."
sleep .5
done

echo ""
echo "Browserstack tunnel has been shut down"
echo "Browserstack tunnel has been shut down"
4 changes: 3 additions & 1 deletion scripts/ci/travis-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ CURRENT_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRA
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
fileDiff=$(git diff --name-only $TRAVIS_COMMIT_RANGE)
else
fileDiff=$(git diff --name-only $TRAVIS_BRANCH...HEAD)
git remote set-branches --add origin $TRAVIS_BRANCH
git fetch origin $TRAVIS_BRANCH
fileDiff=$(git diff --name-only HEAD origin/${TRAVIS_BRANCH})
fi

# Check if tests can be skipped
Expand Down

0 comments on commit d77254c

Please sign in to comment.