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

aiidateam / aiida_core / 5285 / 5
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 22 Feb 2019 01:13PM UTC
Files 398
Run time 1min
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

22 Feb 2019 12:18PM UTC coverage: 63.61%. Remained the same
TEST_AIIDA_BACKEND=django TEST_TYPE="tests"

push

travis-ci

sphuber
Backport migration `7a6587e16f4c` of release `v0.12.3` (#2514)

Migration `7a6587e16f4c` was added to the `v0.12.3` release to improve the speed
of adding nodes to groups by adding a uniqueness constraint, with implied index,
on the `dbgroup_dbnodes` join table for SqlAlchemy. However, a similar change had
already been introduced in migration `59edaf8a8b79` to be released in `v1.0.0`
but in a slightly differently way. This would pose problems for people who would
migrate their database from `v0.12.3` to any version based on `v1.*`. Therefore,
special care needed to be taken to resolve this branching of revisisons.

To solve this branching in the migration revisions for the SqlAlchemy backend,
the new migration `7a6587e16f4c` is backported and added directly after revision
`35d4ee9a1b0e`, which is the point of divergence between `v0.12.*` and `v1.0.0`.
Revision `59edaf8a8b79` is then adapted to first check for the presence of the
changes introduced by the backported revision `7a6587e16f4c` and when found drop
them, before applying the changes it would have done originally. This method
guarantees that the migrations will work whether the database contains the
changes of the backported migration `7a6587e16f4c` or not.

21759 of 34207 relevant lines covered (63.61%)

0.64 hits per line

Source Files on job 5285.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1102
  • Travis Job 5285.5
  • 8e03e32f on github
  • Prev Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on provenance_redesign (#5280.5)
  • Next Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on provenance_redesign (#5290.5)
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