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

aiidateam / aiida_core / 5285
70%
develop: 74%

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

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.

23775 of 34205 relevant lines covered (69.51%)

2.54 hits per line

Jobs
ID Job ID Ran Files Coverage
5 5285.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 22 Feb 2019 01:13PM UTC 0
63.61
Travis Job 5285.5
6 5285.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 22 Feb 2019 01:14PM UTC 0
63.54
Travis Job 5285.6
7 5285.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 22 Feb 2019 01:17PM UTC 0
63.37
Travis Job 5285.7
8 5285.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 22 Feb 2019 01:19PM UTC 0
63.31
Travis Job 5285.8
Source Files on build 5285
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5285
  • 8e03e32f on github
  • Prev Build on provenance_redesign (#5280)
  • Next Build on provenance_redesign (#5290)
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