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

psychopy / psychopy / 4580
47%

Build:
DEFAULT BRANCH: master
Ran 21 Mar 2019 03:56PM UTC
Jobs 4
Files 226
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

pending completion
4580

push

travis-ci

peircej
BF: Removes unnecessary imports from Cedrus/ioLabs safely (#2373)

* BF: Removes unnecessary imports from Cedrus/ioLabs safely

This fixes a problem where cedrus and ioLabs imports would wipe keyboard
imports if they appeared in the same experiment. This fix adds new
functionality to the experiment class by giving ability to check more
abstractly whether a particular type of component exists in an experiment.
For example, whether a component of type keyboard exists. With this new
functionality, Cedrus and ioLab boxes will only delete keyboard imports
if there are no keyboard components in the experiment.

* TEST: Adds test for new getComponentFromType function

To make the test pass, I had to standardize Slider and QMixPump types.

* BF: Checks for equality between "escape" and KeyPress object

This fixes an error where keypresses were tested for membership in
KeyPress objects, when they should be tested for equality.

* BF: Fixes keyboard imports by importing keyboard in every experiment

- New keyboard to be imported in every experiment

- Cedrus and ioLabs no longer need to have unused keyboard import removed

- Keyboard no longer needs to import keyboard, as already imported. Also,
keyboard object no longer extends keys list, but appends instead.

- Escape with and without keyboard component is checked using getKeys
methods from uninitialised Keyboard object.

- clearEvents kwargs in Keyboard set to None by default, in case called
by ioLabs or other non-keyboard device.

* TEST: Changes dir structure for tests and updates all tests

- All tests needed updating with new keyboard import and how escape is used
to quit experiments.

- The folder structure or script tests had to change, to separate out
Python and JS scripts to make it easier to delete and change individual or
groups of correct script files.

* BF: Fixes image stim test

4781 of 13569 branches covered (35.23%)

16 of 16 new or added lines in 6 files covered. (100.0%)

19070 of 38902 relevant lines covered (49.02%)

1.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4580.1 (CONDA=true PYTHON_VERSION=2.7 WXPYTHON=3 OPENPYXL=2.4 DISPLAY=:99.0 AUDIODEV=null) 21 Mar 2019 03:57PM UTC 0
48.75
Travis Job 4580.1
2 4580.2 (CONDA=true PYTHON_VERSION=2.7 WXPYTHON=4 OPENPYXL=2.4 DISPLAY=:99.0 AUDIODEV=null) 21 Mar 2019 03:56PM UTC 0
48.73
Travis Job 4580.2
3 4580.3 (CONDA=true PYTHON_VERSION=2.7 WXPYTHON=3 OPENPYXL=2.5 DISPLAY=:99.0 AUDIODEV=null) 21 Mar 2019 03:57PM UTC 0
48.75
Travis Job 4580.3
4 4580.4 (CONDA=true PYTHON_VERSION=3.6 DISPLAY=:99.0 AUDIODEV=null) 21 Mar 2019 03:57PM UTC 0
48.68
Travis Job 4580.4
Source Files on build 4580
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4580
  • 6cc6117f on github
  • Prev Build on master (#4573)
  • Next Build on master (#4584)
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