Skip to content

Commit ab91603

Browse files
committed
Improve travis.yml
1 parent 9d83db8 commit ab91603

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# Travis CI (https://travis-ci.org/)
2-
3-
language: c
42
dist: bionic
3+
language: python
4+
python:
5+
- "3.6" # current default Python on Travis CI
56
cache:
67
apt: true # only works with Pro version
78

89
before_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

1113
jobs:
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/cleanUp.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/initPTB.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
%
2222

2323
checkPtbVersion();
24-
24+
2525
cfg = getOsInfo(cfg);
2626

2727
pth = fileparts(mfilename('fullpath'));
@@ -88,24 +88,24 @@
8888
end
8989

9090
function 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+
109109
end
110110

111111
function initDebug(cfg)

0 commit comments

Comments
 (0)