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

39 lines
937 B
Bash
Raw Normal View History

2019-06-15 15:04:52 +02:00
#!/usr/bin/env bash
set -e
set -x
cd /tmp/
mkdir testing-with-real-projects
cd testing-with-real-projects
2020-01-01 18:32:03 +01:00
git clone git@github.com:sebastianbergmann/phpunit.git
2019-06-15 15:04:52 +02:00
cd phpunit
2020-01-01 18:32:03 +01:00
git checkout 1c2bc44 # bugfix
2019-06-15 15:04:52 +02:00
composer install
2019-08-13 06:01:35 +02:00
~/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
2019-12-29 17:11:07 +01:00
git clone git@github.com:muglug/collections.git
cd collections
composer install
~/project/psalm --monochrome --show-info=false
cd /tmp/testing-with-real-projects
2020-01-02 00:10:26 +01:00
git clone git@github.com:muglug/ProxyManager.git
cd ProxyManager
2020-01-02 00:10:26 +01:00
git checkout c61365d3a856d5a88f53b7c1fc8dc775f06fa25c
composer install
2020-01-01 23:45:28 +01:00
~/project/psalm --monochrome
cd /tmp/testing-with-real-projects
git clone git@github.com:roave/you-are-using-it-wrong.git
cd you-are-using-it-wrong
composer install
2020-01-01 23:45:28 +01:00
~/project/psalm --monochrome
./vendor/bin/phpunit