Let's move check-stub-map under tests folder

Root folder becomes cleaner and it's really a test for map
This commit is contained in:
Maxim.Kolmakov 2019-06-25 17:31:03 +02:00
parent 401ba8f3aa
commit 59c306a7f1
2 changed files with 2 additions and 2 deletions

View File

@ -17,4 +17,4 @@ install:
script:
- docker-compose -f docker-compose.yml pull
- docker-compose -f docker-compose.yml run php /opt/project/phpstorm-stubs/vendor/bin/phpunit /opt/project/phpstorm-stubs/tests/
- ./check-stub-map
- ./tests/check-stub-map

View File

@ -10,7 +10,7 @@ php generate-stub-map
readonly NEW_FILE_HASH=$(md5sum PhpStormStubsMap.php | awk '{ print $1 }')
if [[ "${CURRENT_FILE_HASH}" != "${NEW_FILE_HASH}" ]]; then
echo "The commited stub map is not up to date. Please regenerate it using ./generate-stub-map.php";
echo "The commited stub map is not up to date. Please regenerate it using ./generate-stub-map";
exit 1;
fi