Open glewiswp opened 7 years ago
@glewiswp it has never been tested with Bitbucket pipelines, no.
You can see that there are some specific Travis environment variables that are read here: https://github.com/xwp/wp-dev-lib/blob/74c9cebc478ab377e84cec8d92e9f499db9db8e0/check-diff.sh#L58-L75
If you can open a PR with the equivalents for Bitbucket then it should work.
I'm attempting to set this up using a Bitbucket pipeline and it looks like
travis.script.sh
fires up but PHPCS never scans any files, like the .diff file is not being read properly inside ofcheck-diff.sh
.travis.install.sh
runs without any issues but when I hittravis.script.sh
in the execution the tests always return the following:I've tried both install methods (submodule/non) and both return the same results. I've also tried setting the
CHECK_SCOPE
environment variable tochanged-files
but same result.Maybe I'm overlooking something obvious, or maybe
wp-dev-lib
doesn't work properly with Bitbucket pipelines?