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

aiidateam / aiida_core / 4334
74%

Build:
DEFAULT BRANCH: develop
Ran 03 Nov 2018 11:13AM UTC
Jobs 4
Files 393
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
4334

push

travis-ci

sphuber
Ensure all files written by AiiDA and plugins are utf8 encoded (#2107)

* Changed all open for `io.open` and specified UTF8 encoding
* Convert explicitly set byte strings to unicode when writing
* `json.dumps` doesn't always produce a unicode string (e.g. Python 2 with a bytestring
  as input), therefore we use `six.text_type` to convert it to unicode and pass it to
  `io.open(demofile.txt, w, encoding='utf-8')` which expects a unicode object and then
  it encodes it utf-8.
* Set literal strings as unicode
* Add encoding option to YAML to ensure that `yaml.dump` returns a bytes object in both Py2 and 3
* Add `json.py` helper function to replace system json
* Replace json imports with `from aiida.utils import json`

25396 of 36962 relevant lines covered (68.71%)

2.42 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4334.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 03 Nov 2018 11:13AM UTC 0
60.98
Travis Job 4334.5
6 4334.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 03 Nov 2018 11:18AM UTC 0
60.92
Travis Job 4334.6
7 4334.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 03 Nov 2018 11:18AM UTC 0
59.9
Travis Job 4334.7
8 4334.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 03 Nov 2018 11:18AM UTC 0
59.86
Travis Job 4334.8
Source Files on build 4334
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4334
  • 552c626b on github
  • Prev Build on develop (#4311)
  • Next Build on develop (#4336)
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

© 2025 Coveralls, Inc