File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ matrix:
2222 - php : 7.2
2323 env :
2424 - CODE_COVERAGE="1"
25- - PHPDOC="1"
2625 - php : 7.3
2726 env :
2827 - CODE_COVERAGE="1"
@@ -40,10 +39,6 @@ install:
4039 - if [ "${CODE_COVERAGE}" == "1" ]; then
4140 wget -q -N -t 3 --retry-connrefused 'https://scrutinizer-ci.com/ocular.phar' || return 0;
4241 fi
43- - if [ "${PHPDOC}" == "1" ]; then
44- wget -q -N -t 3 --retry-connrefused 'https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.9.0/phpDocumentor.phar' || return 0;
45- composer require --no-update --dev "evert/phpdoc-md:~0.2.0" || return 0;
46- fi
4742 - composer install -n
4843
4944script :
@@ -57,7 +52,7 @@ script:
5752 - php vendor/bin/phpstan analyse --level max src/ tests/
5853
5954 # run psalm
60- - vendor/bin/psalm
55+ - php vendor/bin/psalm
6156
6257 # run benchmarks to make sure they are working fine
6358 - php vendor/bin/phpbench run --no-interaction --revs=1 --retry-threshold=100
@@ -66,16 +61,6 @@ after_script:
6661 - if [ "${CODE_COVERAGE}" == "1" ]; then
6762 php ocular.phar code-coverage:upload --format=php-clover coverage.clover;
6863 fi
69- - if [ "${PHPDOC}" == "1" ]; then
70- git clone "https://${CI_USER_TOKEN}@github.com/marc-mabe/php-enum.wiki.git" &&
71- php phpDocumentor.phar -d src -t docs/ --template="xml" &&
72- php vendor/bin/phpdocmd --lt '%c' --index 'Home.md' docs/structure.xml php-enum.wiki/ &&
73- cp php-enum.wiki/Home.md php-enum.wiki/_Sidebar.md &&
74- cd php-enum.wiki/ &&
75- git add . &&
76- git commit -m "auto generated PHP doc" &&
77- git push origin master:master;
78- fi
7964
8065notifications :
8166 email : false
You can’t perform that action at this time.
0 commit comments