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

aiidateam / aiida_core / 4751
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 11 Dec 2018 11:15AM UTC
Jobs 4
Files 411
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
4751

push

travis-ci

sphuber
Add test for availability of sudo in quicksetup (#2333)

Quicksetup needs to access the Postgres database, but does not
know anything about the system setup. It initially tries to
see if it is the postgres superuser, but if it is not, it tries
to become the postgres superuser via sudo. This is the backstop
position and relies on the user having a modern Linux-like system.
If, however, the sudo command is not available to this user at all
(for example, perhaps on an HPC cluser), an error will be raised and
quicksetup will fail ungracefully. This commits add a test to see
if sudo can be found before attempting to use it. If it is not, no
attempt is made, and the final manual setup message is printed.

- Add simple check of the availability of `sudo` command to the user.
- Add warning message if `sudo` cannot be found.
- Update `click.echo` calls to the AiiDA `echo` function.
- Update selected messages to 'warning' type messages.

25427 of 36870 relevant lines covered (68.96%)

2.46 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4751.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 11 Dec 2018 11:15AM UTC 0
62.02
Travis Job 4751.5
6 4751.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 11 Dec 2018 11:20AM UTC 0
61.94
Travis Job 4751.6
7 4751.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 11 Dec 2018 11:20AM UTC 0
61.05
Travis Job 4751.7
8 4751.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 11 Dec 2018 11:21AM UTC 0
61.01
Travis Job 4751.8
Source Files on build 4751
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4751
  • 454bfc3c on github
  • Prev Build on provenance_redesign (#4747)
  • Next Build on provenance_redesign (#4756)
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