• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantheon-systems / terminus / 6988
86%

Build:
DEFAULT BRANCH: master
Ran 26 Sep 2019 08:19PM UTC
Jobs 1
Files 262
Run time 21s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6988

push

travis-ci

Sara McCutcheon
[CORE-1576] Commands to set and unset primary domain. (#2011)

* Commands to set and unset primary domain.

WIP: needs tests.

* Tests for setting/resetting primary domain and its commands.

* Rename command to remove primary domain to `domain:primary:reset` for consistency.

* Refactor set_primary_domain workflow maker out of a Command to Models\Environment class.

* CS fix

* Filter pantheonsite.io domains from interactive choice list.

While the platform supports setting these domains as primary, it seems
highly unlikely that a user would do this intentionally, and more likely
that if it were chosen from a multiple choice list, that it was just
fat-fingered. For better UX, they are therefore excluded.

Users that really mean to do this can do so by typing/passing the full
pantheonsite.io domain non-interactively to the domain:primary:set
command.

* Add primary domain to Domain model and domain:list command.

* UX review: Change command to domain:primary:unset, log completion.

* Changes that are clear from @TeslaDethray's requests.

* Rename domain:primary:set to domain:primary:add per consensus of product and technical leadership.

* Best guess at new model refactor request

* Fix failing tests in older minor versions of php 7.0 - 7.3.

It seems substr_compare issues a warning iff the first parameter is
the empty string in these earlier minor releases; manual states it
was fixed in 7.2.18. Since a) it's been fixed and b) empty strings
are not expected real-world input, I've simply removed that input
from the test coverage.

* Behat tests for add and remove primary domain

* Make behat.yml a bit more yaml-compliant (% not allowed as beginning of string)

* Restore Consolidation\\Filter\\Hooks\\FilterHooks to command list

* Changelog for 2.2.0

* Fix stated version in changelog

3026 of 3485 relevant lines covered (86.83%)

4.74 hits per line

Jobs
ID Job ID Ran Files Coverage
2 6988.2 26 Sep 2019 08:14PM UTC 0
86.83
Travis Job 6988.2
Source Files on build 6988
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6988
  • 6bddde19 on github
  • Prev Build on master (#6973)
  • Next Build on master (#6991)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc