1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/bin/test-with-real-projects.sh
2020-01-30 00:39:37 -05:00

38 lines
897 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -x
cd /tmp/
mkdir testing-with-real-projects
cd testing-with-real-projects
git clone git@github.com:muglug/phpunit.git
cd phpunit
git checkout 4494070
composer install
~/project/build/psalm.phar --config=.psalm/config.xml --monochrome --show-info=false
~/project/build/psalm.phar --config=.psalm/static-analysis.xml --monochrome
cd /tmp/testing-with-real-projects
git clone git@github.com:muglug/collections.git
cd collections
composer install
~/project/psalm --monochrome --show-info=false
cd /tmp/testing-with-real-projects
git clone git@github.com:muglug/ProxyManager.git
cd ProxyManager
composer install
~/project/psalm --monochrome
cd /tmp/testing-with-real-projects
git clone git@github.com:muglug/you-are-using-it-wrong.git
cd you-are-using-it-wrong
git checkout 5d29951fd0c49570e566c3dd5118eb18dc9c67bb
composer install
~/project/psalm --monochrome