Skip to content

Commit 2de3730

Browse files
committed
Also extract secrets on pull request
1 parent c1ab753 commit 2de3730

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ matrix:
1515
- php: nightly
1616

1717
before_install: |
18-
if [ 'false' == "$TRAVIS_PULL_REQUEST" ]; then
18+
if [[ "$TRAVIS_PULL_REQUEST_SLUG" == "" || "$TRAVIS_PULL_REQUEST_SLUG" == "$TRAVIS_REPO_SLUG" ]];then
1919
openssl aes-256-cbc -K $encrypted_f23adc84ec09_key -iv $encrypted_f23adc84ec09_iv -in .travis/secrets.tar.enc -out .travis/secrets.tar -d
2020
tar xvf .travis/secrets.tar -C .travis
2121
fi
@@ -106,7 +106,6 @@ jobs:
106106
tags: false
107107
branch:
108108
- develop
109-
- "feature/nightly-releases"
110109

111110
cache:
112111
directories:

0 commit comments

Comments
 (0)