@@ -52,7 +52,7 @@ script:
5252 cmake $TRAVIS_BUILD_DIR -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=$build_type ${CMAKE_EFLAGS[@]}
5353 cmake -j $(if [ $TRAVIS_OS_NAME = osx ]; then sysctl -n hw.ncpu; else nproc; fi) --build . &&
5454 sudo cmake --build . --target install && cd $TRAVIS_BUILD_DIR
55- - SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -b test1.h265
55+ - travis_wait SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -b test1.h265
5656before_cache :
5757 - " sudo chown -R travis: $HOME/.ccache"
5858matrix :
@@ -67,8 +67,8 @@ matrix:
6767 - os : osx
6868 compiler : gcc # gcc = clang in macOS, unecessary duplicate
6969 include :
70- # valgrind --tool=memcheck --leak-check=yes --show-reachable=yes ./SvtHevcEncApp -help
71- # Coding style check
70+ # valgrind --tool=memcheck --leak-check=yes --show-reachable=yes ./SvtHevcEncApp -help
71+ # Coding style check
7272 - name : Style check
7373 stage : style
7474 addons : skip
@@ -77,28 +77,28 @@ matrix:
7777 script :
7878 - git grep -InP --heading "\t|\r| $" -- . && IS_FAIL=true || true
7979 - git grep -I -l -z "" -- . | while IFS= read -r -d '' i; do
80- if [ -n "$(tail -c 1 "$i")" ]; then
81- echo "No newline at end of $i";
82- IS_FAIL=true;
83- fi;
80+ if [ -n "$(tail -c 1 "$i")" ]; then
81+ echo "No newline at end of $i";
82+ IS_FAIL=true;
83+ fi;
8484 done
8585 - git remote rm upstream 2> /dev/null || true
8686 - git remote add upstream https://github.com/OpenVisualCloud/SVT-HEVC.git
8787 - git fetch -q upstream master
8888 - for i in $(git rev-list HEAD ^upstream/master); do
89- echo "Checking commit message of $i";
90- msg="$(git log --format=%B -n 1 $i)";
91- if [ -n "$(echo "$msg" | awk "NR==2")" ]; then
92- echo "Malformed commit message in $i, second line must be empty";
93- IS_FAIL=true;
94- fi;
95- if echo "$msg" | head -1 | grep -q '\.$'; then
96- echo "Malformed commit message in $i, trailing period in subject line";
97- IS_FAIL=true;
98- fi;
89+ echo "Checking commit message of $i";
90+ msg="$(git log --format=%B -n 1 $i)";
91+ if [ -n "$(echo "$msg" | awk "NR==2")" ]; then
92+ echo "Malformed commit message in $i, second line must be empty";
93+ IS_FAIL=true;
94+ fi;
95+ if echo "$msg" | head -1 | grep -q '\.$'; then
96+ echo "Malformed commit message in $i, trailing period in subject line";
97+ IS_FAIL=true;
98+ fi;
9999 done
100100 - test -z "$IS_FAIL"
101- # FFmpeg interation build
101+ # FFmpeg interation build
102102 - name : FFmpeg patch
103103 stage : test
104104 compiler : gcc
@@ -136,15 +136,15 @@ matrix:
136136 - mv -t $HOME akiyo_cif.y4m
137137 - *base_script
138138 - cd $HOME
139- - SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -n 120 -b test-pr-m9.h265
140- - SvtHevcEncApp -encMode 0 -i akiyo_cif.y4m -n 3 -b test-pr-m0.h265
139+ - travis_wait SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -n 120 -b test-pr-m9.h265
140+ - travis_wait SvtHevcEncApp -encMode 0 -i akiyo_cif.y4m -n 3 -b test-pr-m0.h265
141141 - rm -rf $TRAVIS_BUILD_DIR
142142 - git clone --depth 1 https://github.com/OpenVisualCloud/SVT-HEVC.git $TRAVIS_BUILD_DIR && cd $TRAVIS_BUILD_DIR
143143 - *base_script
144144 - mkdir -p $TRAVIS_BUILD_DIR/Build/linux/$build_type
145145 - cd $HOME
146- - SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -n 120 -b test-master-m9.h265
147- - SvtHevcEncApp -encMode 0 -i akiyo_cif.y4m -n 3 -b test-master-m0.h265
146+ - travis_wait SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -n 120 -b test-master-m9.h265
147+ - travis_wait SvtHevcEncApp -encMode 0 -i akiyo_cif.y4m -n 3 -b test-master-m0.h265
148148 - diff test-pr-m9.h265 test-master-m9.h265
149149 - diff test-pr-m0.h265 test-master-m0.h265
150150 - name : Coveralls Linux+gcc
@@ -155,7 +155,7 @@ matrix:
155155 script :
156156 - *base_script
157157 - &coveralls_script |
158- SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -b test1.h265
158+ travis_wait SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -b test1.h265
159159 git clone https://github.com/FFmpeg/FFmpeg ffmpeg --depth=1 --branch release/4.1
160160 cd ffmpeg
161161 git am $TRAVIS_BUILD_DIR/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch &&
@@ -166,7 +166,7 @@ matrix:
166166 sudo make install
167167 cd $TRAVIS_BUILD_DIR
168168 ffmpeg -i akiyo_cif.y4m -c:v libsvt_hevc test.h265
169- SvtHevcEncApp -i stdin -w 352 -h 288 -fps 30 -n 150 -b test2.h265 < akiyo_cif.y4m
169+ travis_wait SvtHevcEncApp -i stdin -w 352 -h 288 -fps 30 -n 150 -b test2.h265 < akiyo_cif.y4m
170170 after_script : &after_coveralls_script |
171171 if [ $CC = "clang" ] && [ $TRAVIS_OS_NAME = linux ]; then
172172 GCOV_FILE=llvm-cov GCOV_OPTIONS='gcov -pl'
@@ -190,4 +190,4 @@ matrix:
190190 env : build_type=debug
191191 script :
192192 - *base_script
193- - valgrind -- SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -n 150 -b test1.h265
193+ - travis_wait valgrind -- SvtHevcEncApp -encMode 9 -i akiyo_cif.y4m -n 150 -b test1.h265
0 commit comments