Loading .travis.yml +2 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ before_script: - sudo apt-get install -y gcc-4.8 - if [ $CC == 'gcc' ]; then export CC=gcc-4.8; fi; - bundle install script: - make clean - make start_simulator script: - make all vendor/kinetic-simulator/stopSimulator.sh +8 −0 Original line number Diff line number Diff line Loading @@ -10,5 +10,13 @@ if [[ ! -z $_SIMS ]]; then kill $sim fi done _SIMS=`ps -ef | grep "kinetic-simulator/kinetic-simulator-" | grep -v 'grep' | sed -e 's/^ *//' -e 's/ *$//' | tr -s ' ' | cut -d ' ' -f 2` while [[ ! -z $_SIMS ]]; do echo Waiting for simulators to shutdown... sleep 1 _SIMS=`ps -ef | grep "kinetic-simulator/kinetic-simulator-" | grep -v 'grep' | sed -e 's/^ *//' -e 's/ *$//' | tr -s ' ' | cut -d ' ' -f 2` done echo All simulators have been terminated! fi Loading
.travis.yml +2 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ before_script: - sudo apt-get install -y gcc-4.8 - if [ $CC == 'gcc' ]; then export CC=gcc-4.8; fi; - bundle install script: - make clean - make start_simulator script: - make all
vendor/kinetic-simulator/stopSimulator.sh +8 −0 Original line number Diff line number Diff line Loading @@ -10,5 +10,13 @@ if [[ ! -z $_SIMS ]]; then kill $sim fi done _SIMS=`ps -ef | grep "kinetic-simulator/kinetic-simulator-" | grep -v 'grep' | sed -e 's/^ *//' -e 's/ *$//' | tr -s ' ' | cut -d ' ' -f 2` while [[ ! -z $_SIMS ]]; do echo Waiting for simulators to shutdown... sleep 1 _SIMS=`ps -ef | grep "kinetic-simulator/kinetic-simulator-" | grep -v 'grep' | sed -e 's/^ *//' -e 's/ *$//' | tr -s ' ' | cut -d ' ' -f 2` done echo All simulators have been terminated! fi