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

Djenesis / contributr / 110
63%
master: 65%

Build:
Build:
LAST BUILD BRANCH: blog
DEFAULT BRANCH: master
Ran 06 Sep 2015 06:14PM UTC
Jobs 2
Files 16
Run time 3s
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
110

push

travis-ci

ameistad
Add post model for basic blog data

This is a Post model for basic data for a blog. This includes, title, author, body, created date, modified date
and published date. The field author has a foreignkey relationship with the user model. created_date has a field option
of auto_now_add which sets the date automatically when created. modified_date has the field option auto_now which sets
the field to now every time the post is saved. Also registered the Post model to the admin site interface, so posts can
be created, edited and deleted.

Added a test for string representation. This test if the string representation in Posts is equal to the
blog title.

42 of 72 relevant lines covered (58.33%)

1.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 110.1 (DJANGO_VERSION=1.8 DJANGO_SETTINGS_MODULE="contributr.settings.travis") 06 Sep 2015 06:14PM UTC 0
58.33
Travis Job 110.1
2 110.2 (DJANGO_VERSION=1.8 DJANGO_SETTINGS_MODULE="contributr.settings.travis") 06 Sep 2015 06:14PM UTC 0
58.33
Travis Job 110.2
Source Files on build 110
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #110
  • 79d3f171 on github
  • Prev Build on blog (#109)
  • Next Build on blog (#111)
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