Skip to content

Commit c0bdf7a

Browse files
committed
.travis.yaml: travis will fail when run_tests is not passed
1 parent 98fd726 commit c0bdf7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ travis_time_start install # Use this to install any prerequisites or dependencie
4747
cd ${HOME}
4848
[ -e jskeus ] || git clone http://github.com/euslisp/jskeus jskeus
4949
ln -s $CI_SOURCE_PATH jskeus/eus
50+
ln -s `pwd`/jskeus/irteus jskeus/eus/irteus
5051
travis_time_end
5152

5253
travis_time_start script.make # All commands must exit with code 0 on success. Anything else is considered failure.
@@ -60,9 +61,9 @@ source bashrc.eus
6061
export DISPLAY=
6162
set +e
6263
if [[ "`uname -m`" == "arm"* || "`uname -m`" == "aarch"* ]]; then
63-
export EXIT_STATUS=0; for test_l in irteus/test/*.l; do [[ $test_l =~ geo.l|interpolator.l|irteus-demo.l|test-irt-motion.l|object.l|coords.l ]] && continue; irteusgl $test_l; export EXIT_STATUS=`expr $? + 1`; done;echo "Exit status : $EXIT_STATUS"; [ $EXIT_STATUS == 0 ]
64+
export EXIT_STATUS=0; for test_l in irteus/test/*.l; do [[ $test_l =~ geo.l|interpolator.l|irteus-demo.l|test-irt-motion.l|object.l|coords.l ]] && continue; irteusgl $test_l; export EXIT_STATUS=`expr $? + $EXIT_STATUS`; done;echo "Exit status : $EXIT_STATUS"; [ $EXIT_STATUS == 0 ] || exit 1
6465
else
65-
export EXIT_STATUS=0; for test_l in irteus/test/*.l; do irteusgl $test_l; export EXIT_STATUS=`expr $? + 1`; done;echo "Exit status : $EXIT_STATUS"; [ $EXIT_STATUS == 0 ]
66+
export EXIT_STATUS=0; for test_l in irteus/test/*.l; do irteusgl $test_l; export EXIT_STATUS=`expr $? + $EXIT_STATUS`; done;echo "Exit status : $EXIT_STATUS"; [ $EXIT_STATUS == 0 ] || exit 1
6667
fi
6768
travis_time_end
6869

0 commit comments

Comments
 (0)