Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
We need github.com/drupalcommerce/commerce_shipping running Travis. And we need to make the build green.
1) Add the .travis files (copy from Commerce)
2) Make the tests pass with Commerce -dev (we have failures in kernel tests, and in Functional/ShippingMethodTest).
Comments
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedPushed the current progress, Travis is now running, and phpcs is passing.
Last build: https://travis-ci.org/drupalcommerce/commerce_shipping/jobs/227048792
Getting odd test results though:
1) ShippingMethodTest is passing even though it fails for me locally
2) run-tests.sh on Travis complains about not being able to find PackageTypeTest and TrackingLinkFormatterTest, but finds them just fine for me locally.
EDIT: Found out the reason, Travis is pulling in beta2 instead of using the latest commit. Not yet sure why, the same config works fine for Commerce.
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedTravis issue resolved by adding a composer.json, latest build: https://travis-ci.org/drupalcommerce/commerce_shipping/jobs/227055047
The remaining task is now to fix ShippingMethodTest. It was broken by #2863805: Plugin select widgets show weight field exposed when AJAX, and broken. in Commerce.
Comment #5
bojanz CreditAttribution: bojanz at Centarro commentedAnd we're green.