diff --git a/utils/travis_tests/README.md b/utils/travis_tests/README.md index f000378..5cd38dc 100644 --- a/utils/travis_tests/README.md +++ b/utils/travis_tests/README.md @@ -31,8 +31,8 @@ Test server running on Raspberry PI: * One or two ESP8266 modules connected to USB ports * SSH access from the Internet (with public key from Travis CI) * Python3 -* [esptool.py] installed -* pySerial python module `pip install pyserial` +* [esptool.py] installed `pip install esptool` +* pySerial python module `pip3 install pyserial` ### Create SSH keys for Travis diff --git a/utils/travis_tests/run_tests.sh b/utils/travis_tests/run_tests.sh index 2e609eb..96eff7f 100755 --- a/utils/travis_tests/run_tests.sh +++ b/utils/travis_tests/run_tests.sh @@ -75,8 +75,7 @@ function run_tests { echo "Running tests, server IP=${1}, type=${3}" echo "Flash cmd: ${FLASH_CMD}" # Run test runner on the remote server - # ssh ${2}@${1} "source /home/pi/.profile; cd /tmp/eor_test/; ./test_runner.py --type ${3} -f -c \"${FLASH_CMD}\"" - ssh ${2}@${1} "source /home/pi/.profile; /tmp/eor_test/test_runner.py --type ${3} -f -c \"${FLASH_CMD}\"" + ssh ${2}@${1} "source ~/.profile; /tmp/eor_test/test_runner.py --type ${3} -f -c \"${FLASH_CMD}\"" } # First step is to build a firmware