File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 11# Travis CI (https://travis-ci.org/)
2-
3- language : c
42dist : bionic
3+ language : python
4+ python :
5+ - " 3.6" # current default Python on Travis CI
56cache :
67 apt : true # only works with Pro version
78
89before_install :
9- - cd .. && git clone https://github.com/florianschanda/miss_hit.git && export PATH=$PATH:`pwd`/miss_hit && cd CPP_PTB
10+ - pip3 install --user miss_hit
11+ # - cd .. && git clone https://github.com/florianschanda/miss_hit.git && export PATH=$PATH:`pwd`/miss_hit && cd CPP_PTB
1012
1113jobs :
1214 include :
1315 - script : mh_style `pwd`
14- name : " miss_hit linter" # names the second job
16+ name : " miss_hit linter" # names the second job
17+ - script : mh_metric `pwd`
18+ name : " miss_hit static analysis" # names the second job
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ For instructions see the following links:
3636
3737| Requirements | Used version |
3838| ----------------------------------------------------------| --------------|
39- | [ PsychToolBox] ( http://psychtoolbox.org/ ) Duuuuhh | >=3.0.14 |
39+ | [ PsychToolBox] ( http://psychtoolbox.org/ ) | >=3.0.14 |
4040| [ Matlab] ( https://www.mathworks.com/products/matlab.html ) | >=2015b |
4141| or [ octave] ( https://www.gnu.org/software/octave/ ) | 4.? |
4242
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function cleanUp()
1818
1919 % Shut down connection with Eyelink
2020 try
21- Eyelink(' shutdown' )
21+ Eyelink(' shutdown' );
2222 catch
2323 end
2424
Original file line number Diff line number Diff line change 2121 %
2222
2323 checkPtbVersion();
24-
24+
2525 cfg = getOsInfo(cfg );
2626
2727 pth = fileparts(mfilename(' fullpath' ));
8888end
8989
9090function cfg = getOsInfo(cfg )
91-
91+
9292 cfg.software.os = computer();
9393 cfg.software.name = ' Psychtoolbox' ;
9494 cfg.software.RRID = ' SCR_002881' ;
95-
95+
9696 [~ , versionStruc ] = PsychtoolboxVersion ;
97-
97+
9898 cfg.software.version = sprintf(' %i .%i .%i ' , ...
9999 versionStruc .major , ...
100100 versionStruc .minor , ...
101101 versionStruc .point );
102-
102+
103103 runsOn = ' Matlab - ' ;
104104 if IsOctave
105105 runsOn = ' Octave - ' ;
106106 end
107107 cfg.software.runsOn = [runsOn version()];
108-
108+
109109end
110110
111111function initDebug(cfg )
You can’t perform that action at this time.
0 commit comments