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

mojotech / torch / 137 / 1
68%
master: 65%

Build:
Build:
LAST BUILD BRANCH: dependabot/hex/credo-1.7.18
DEFAULT BRANCH: master
Ran 03 Jan 2020 03:40PM UTC
Files 14
Run time 1s
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

03 Jan 2020 03:36PM UTC coverage: 67.669% (-2.1%) from 69.767%
MIX_ENV=test DATABASE_POSTGRESQL_USERNAME=postgres

push

travis-ci

cpjolicoeur
Properly backup and restore project templates

If the given Phoenix project had already customized
any of the `phx.gen.html` and/or `phx.gen.context`
templates, this change will properly retain those templates.

The `torch.gen.html` task will now backup the existing template
directories (if they exist) and restore them at the end of the
process.  After backing up the directories, Torch will create
and inject it's own custom template, and then clean up after
itself.

This change also fixes the previous `remove_templates` function
to actually remove the directories, as the previous iteration
left the directories in place.

90 of 133 relevant lines covered (67.67%)

1.95 hits per line

Source Files on job 137.1 (MIX_ENV=test DATABASE_POSTGRESQL_USERNAME=postgres)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 64
  • Travis Job 137.1
  • 8209cdd4 on github
  • Prev Job for MIX_ENV=test DATABASE_POSTGRESQL_USERNAME=postgres on cpj/customize_torch_templates_handling (#136.2)
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