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

ciudadanointeligente / write-it / 1487
99%
master: 98%

Build:
Build:
LAST BUILD BRANCH: alpaca-rebased-django-1.8
DEFAULT BRANCH: master
Ran 26 Mar 2015 09:42PM UTC
Jobs 2
Files 106
Run time 124min
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
1487

push

travis-ci

lfalvarez
WIP #610. This adds the backend for manually resync with popit

Resyncing a preexisting writeit instance with a popit instance.
This only provides the backend for resyncing. But the frontend would probably look something like this.

In somewhere like ```nuntium/templates/nuntium/profiles/writeitinstance_and_popit_relations.html``` in the
```{% for record in relations %}``` you would have to add something like following:
```
<a class="resync" href="{% url 'resync-from-popit' slug=record.writeitinstance.slug popit_api_pk=record.popitapiinstance.pk %}">resync</a>
```

and at the bottom of the file:

```
<script type="text/javascript">
$(function(){
  $('.resync').click(function(event){
    event.preventDefault();
    var url = $(event.target).attr('href');
    $.post(url, function(data){
      location.reload();
    })

  })
})
</script>
```

7390 of 7452 relevant lines covered (99.17%)

1.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1487.1 (DB=postgres) 26 Mar 2015 09:48PM UTC 0
99.17
Travis Job 1487.1
2 1487.2 (DB=sqlite3) 26 Mar 2015 09:42PM UTC 0
99.17
Travis Job 1487.2
Source Files on build 1487
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1487
  • e0fd99a6 on github
  • Prev Build on issues/610-resync-popit (#1486)
  • Next Build on issues/610-resync-popit (#1489)
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