Skip to content

Commit 06db1b1

Browse files
authored
Merge pull request #25 from surabhi226005/feature/ss/test-ci-4
test 8
2 parents e4d2ba4 + 62c2610 commit 06db1b1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ deploy:
1919
api_key:
2020
secure: $TRAVIS_SECURE_API_KEY
2121
after_success:
22-
- if [ "$TRAVIS_BRANCH" == "develop" ] ; then bash travis.sh ; fi
22+
- if [ "$TRAVIS_BRANCH" == "develop" ] ; then
23+
if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then bash travis.sh ; fi ; fi

travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ git remote rm $PROVIDER ;
1212
git remote add $PROVIDER git@$PROVIDER.com:$PROVIDER_APP_NAME.git ;
1313

1414
git add dist/ ;
15-
git checkout -b $TRAVIS_BRANCH ;
15+
git checkout -b $NEW_TRAVIS_BRANCH ;
1616
git commit -m "$TRAVIS_COMMIT_MESSAGE" ;
17-
git push $PROVIDER $TRAVIS_BRANCH:PROVIDER_BRANCH ;
17+
git push $PROVIDER $NEW_TRAVIS_BRANCH:$PROVIDER_BRANCH ;
1818

1919
echo -e "yes" | ./travis.sh ; fi

0 commit comments

Comments
 (0)