Sleep 5 after killing and restarting Tor
MODIFY
.travis.yml
.travis.yml
@@ -20,6 +20,7 @@ before_install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -qq update && sudo apt-get install -y tor; else brew install tor; fi
- if [ $TRAVIS_OS_NAME = osx ]; then ulimit -S -n 4096; fi
- echo $(sudo killall tor)
+ - sleep 5
- tor RunAsDaemon 1
script:

Sleep 5 after killing and restarting Tor