Skip to content

Commit e3130bb

Browse files
committed
try miss_hit linter with travis
1 parent 8c027de commit e3130bb

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ before_install:
1515
- travis_retry sudo apt-get -y install liboctave-dev
1616
# - travis_retry sudo apt-get -y install nodejs
1717
# - travis_retry sudo apt-get -y install npm
18+
- cd .. && git clone https://github.com/florianschanda/miss_hit.git && export PATH=$PATH:`pwd`/miss_hit && cd CPP_BIDS
19+
1820

1921
install:
2022
# Install JSONio
@@ -30,5 +32,10 @@ before_script:
3032
# Change current directory
3133
- cd tests
3234

33-
script:
34-
- octave $OCTFLAGS --eval "results = runTests; assert(all(~[results.Failed]))"
35+
jobs:
36+
include:
37+
- stage: "Tests and linter"
38+
name: "Unit Tests" # names the first job
39+
script: octave $OCTFLAGS --eval "results = runTests; assert(all(~[results.Failed]))"
40+
- script: cd .. && mh_style.py `pwd`
41+
name: "miss_hit linter" # names the second job

0 commit comments

Comments
 (0)