Skip to content

Commit

Permalink
Travis - sign Git commits
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Dec 8, 2019
1 parent 249e111 commit 463848e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
../tmp/phpstan.phar
- stage: phar
php: 7.3
before_install:
- openssl aes-256-cbc -K $encrypted_bd816b4f73f9_key -iv $encrypted_bd816b4f73f9_iv -in build/key.gpg.enc -out build/key.gpg -d && gpg --import build/key.gpg
script:
- |
composer install --working-dir=compiler && \
Expand All @@ -55,8 +57,9 @@ jobs:
cd phpstan-dist && \
git config user.email "ondrej@mirtes.cz" && \
git config user.name "Ondrej Mirtes" && \
git config --global user.signingkey 9511B99BD25BF787 && \
git add phpstan phpstan.phar && \
git commit -m "Updated PHPStan to commit ${TRAVIS_COMMIT}" -m "${GIT_LOG}" && \
git commit -S -m "Updated PHPStan to commit ${TRAVIS_COMMIT}" -m "${GIT_LOG}" && \
git push --quiet origin master
- stage: test
os: windows
Expand Down
Binary file added build/key.gpg.enc
Binary file not shown.

0 comments on commit 463848e

Please sign in to comment.