Skip to content

Commit

Permalink
Travis - list of all included commits when updating phpstan/phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Dec 8, 2019
1 parent 98a14b0 commit 249e111
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -48,14 +48,15 @@ jobs:
- |
composer install --working-dir=compiler && \
php compiler/bin/compile && \
GIT_LOG=$(git log ${TRAVIS_COMMIT_RANGE} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/phpstan\/phpstan-src\/commit\//') && \
git clone https://${GITHUB_TOKEN}@github.com/phpstan/phpstan.git phpstan-dist > /dev/null 2>&1 && \
cp tmp/phpstan.phar phpstan-dist/phpstan.phar && \
cp tmp/phpstan.phar phpstan-dist/phpstan && \
cd phpstan-dist && \
git config user.email "ondrej@mirtes.cz" && \
git config user.name "Ondrej Mirtes" && \
git add phpstan phpstan.phar && \
git commit -m "Updated PHPStan to commit ${TRAVIS_COMMIT}" && \
git commit -m "Updated PHPStan to commit ${TRAVIS_COMMIT}" -m "${GIT_LOG}" && \
git push --quiet origin master
- stage: test
os: windows
Expand Down

0 comments on commit 249e111

Please sign in to comment.