silverstripe / cwp-recipe-kitchen-sink

The CWP kitchen sink! Includes all optional and suggested modules. Used for internal testing.
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

NEW Add recipe-testing dev dependency #17

Closed raissanorth closed 6 years ago

raissanorth commented 6 years ago

This PR adds the recipe-testing as a dev dependency. Amongst others, this includes behat-extension.

chillu commented 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

raissanorth commented 6 years ago

No, I didn't stop them. Not sure would caused them to fail.

ScopeyNZ commented 6 years ago

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.

robbieaverill commented 6 years ago

I noticed this in core yesterday, it looks like Travis has changed something to do with the global composer location

robbieaverill commented 6 years ago

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

robbieaverill commented 6 years ago

Pushed to 2.1, merged up and rebased under this branch