Skip to content

Commit

Permalink
chore: Do not try to decrypt in Pull Requests
Browse files Browse the repository at this point in the history
- Pull Requests builds were breaking because of this
  • Loading branch information
MontealegreLuis committed Jul 23, 2019
1 parent f9370e2 commit 2b0e696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ before_install:
- sudo apt-get update
- sudo apt-get -y --reinstall install imagemagick
- yes | pecl install imagick
- openssl aes-256-cbc -K $encrypted_2ff9b681a952_key -iv $encrypted_2ff9b681a952_iv -in .travis/secrets.tar.enc -out .travis/secrets.tar -d

before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
Expand All @@ -47,7 +46,8 @@ after_script:
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

after_success:
- curl -OS http://couscous.io/couscous.phar
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then openssl aes-256-cbc -K $encrypted_2ff9b681a952_key -iv $encrypted_2ff9b681a952_iv -in .travis/secrets.tar.enc -out .travis/secrets.tar -d ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then curl -OS http://couscous.io/couscous.phar ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then php couscous.phar travis-auto-deploy --php-version $TRAVIS_PHP_VERSION ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then composer install --no-dev ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./phar.sh ; fi

0 comments on commit 2b0e696

Please sign in to comment.