Closed raissanorth closed 6 years ago
@raissanorth Did you stop the builds on purpose? It's a bit hard to say if the build errors relate to the stopping, or are actual errors - e.g. https://travis-ci.org/silverstripe/cwp-recipe-kitchen-sink/jobs/437428201
No, I didn't stop them. Not sure would caused them to fail.
I didn't realise that cow was trying to validate schemas on build in this repo, but I assume cow is finding an issue (or encountering an error) but isn't outputting it correctly. It'll probably have to be run locally to find the issue.
I noticed this in core yesterday, it looks like Travis has changed something to do with the global composer location
Perhaps composer's global install location has changed:
Build where it worked:
$ composer global require silverstripe/cow ^2
Changed current directory to /home/travis/.composer
...
$ ~/.composer/vendor/bin/cow schema:validate
Cow schema is valid!
These builds now:
$ composer global require silverstripe/cow ^2
Changed current directory to /home/travis/.config/composer
...
$ ~/.composer/vendor/bin/cow schema:validate
/home/travis/.travis/job_stages: line 98: /home/travis/.composer/vendor/bin/cow: No such file or directory
I'll push an update to this branch
Pushed to 2.1, merged up and rebased under this branch
This PR adds the recipe-testing as a dev dependency. Amongst others, this includes behat-extension.