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

TryGhost / Ghost-CLI / 1609
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: renovate/tough-cookie-4.x
DEFAULT BRANCH: master
Ran 31 Jul 2018 09:05AM UTC
Jobs 1
Files 66
Run time 7s
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
1609

push

travis-ci

web-flow
Added handling for knex-migrator being executed in Ghost 2.0 (#765)

refs #759

- We have moved the execution of knex-migrator into Ghost 2.0.0
- This commit will ensure we skip the db migration when you:
  - migrate from ^1 to ^2
  - you update from ^2 to ^2
  - when you install ^2
- Added net socket server for Ghost 2.0 (alternative to simple port polling)
- way better error handling between Ghost and the CLI
- Ghost 2.0 executes knex-migrator
  - it will turn maintenance on if migrations need to be executed
  - the handling of receiving success or failure state requires a better communication between the CLI and Ghost, because the blog stays in maintenance mode and runs the migrations in background
- Ghost will tell the CLI when it's ready by using an extension: write a socket url into the config and send the success/failure state
- this is much better than using the http socket to communicate, because
  - A) port polling connects to the http port, it's impossible to send simple messages over this transport layer
  - B) the code is much simpler, CLI opens a socket port and Ghost pushes a notification if the notification is available
  - C) we receive any error from Ghost - even if the http server wasn't started yet
- we don't communicate with Ghost, Ghost communicates with the CLI
- port polling for v1 blogs is untouched, still works as expected
- coverage has decreased a very little 0,2% - will try to add more tests when we merge the 1.9 branch into master

1137 of 1141 branches covered (99.65%)

61 of 61 new or added lines in 5 files covered. (100.0%)

2290 of 2294 relevant lines covered (99.83%)

5.59 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1609.2 31 Jul 2018 09:05AM UTC 0
99.83
Travis Job 1609.2
Source Files on build 1609
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1609
  • 06bc19cf on github
  • Prev Build on 1.9 (#1597)
  • Next Build on 1.9 (#1612)
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