File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ before_install:
1313 - travis_retry sudo apt-get -y -qq update
1414 - travis_retry sudo apt-get -y install octave
1515 - travis_retry sudo apt-get -y install liboctave-dev
16+ - cd .. && git clone https://github.com/florianschanda/miss_hit.git && export PATH=$PATH:`pwd`/miss_hit && cd CPP_PTB
1617
1718install :
1819 - octave $OCTFLAGS --eval "addpath (pwd); savepath ();"
@@ -21,5 +22,10 @@ before_script:
2122 # Change current directory
2223 - cd tests
2324
24- script :
25- - octave $OCTFLAGS --eval "results = runtests; assert(all(~[results.Failed]))"
25+ jobs :
26+ include :
27+ - stage : " Tests and linter"
28+ name : " Unit Tests" # names the first job
29+ script : octave $OCTFLAGS --eval "results = runTests; assert(all(~[results.Failed]))"
30+ - script : cd .. && mh_style.py `pwd`
31+ name : " miss_hit linter" # names the second job
Original file line number Diff line number Diff line change 1+ line_length: 100
2+ regex_function_name: " [a-z]+(([A-Z]){1}[A-Za-z]+)*"
3+ suppress_rule: " copyright_notice"
Original file line number Diff line number Diff line change 1+ line_length: 100
2+ regex_function_name: " ((test_[a-z]+)|[a-z]+)(([A-Z]){1}[A-Za-z]+)*"
3+ suppress_rule: " copyright_notice"
You can’t perform that action at this time.
0 commit comments