mirror of https://github.com/eclipse/paho.mqtt.c
Use Python3 for mqttsas.py
This commit is contained in:
parent
a892672057
commit
f5fc716aba
|
|
@ -5,12 +5,11 @@ image:
|
|||
configuration: Debug
|
||||
install:
|
||||
- cmd: openssl version
|
||||
- cmd: python --version
|
||||
- cmd: netsh advfirewall firewall add rule name="Python 2.7" dir=in action=allow program="C:\Python27\python.exe" enable=yes
|
||||
- cmd: C:\Python36\python --version
|
||||
- cmd: netsh advfirewall firewall add rule name="Python 3.6" dir=in action=allow program="C:\Python36\python.exe" enable=yes
|
||||
- cmd: netsh advfirewall firewall add rule name="Open Port 1883" dir=in action=allow protocol=TCP localport=1883
|
||||
- cmd: netsh advfirewall set allprofiles state off
|
||||
- ps: Start-Process python -ArgumentList 'test\mqttsas.py'
|
||||
- cmd: C:\Python36\python --version
|
||||
- ps: Start-Process C:\Python36\python -ArgumentList 'test\mqttsas.py'
|
||||
- cmd: git clone https://github.com/eclipse/paho.mqtt.testing.git
|
||||
- cmd: cd paho.mqtt.testing\interoperability
|
||||
- ps: Start-Process C:\Python36\python -ArgumentList 'startbroker.py -c localhost_testing.conf'
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ cd build.paho
|
|||
echo "travis build dir $TRAVIS_BUILD_DIR pwd $PWD"
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE ..
|
||||
make
|
||||
python ../test/mqttsas.py &
|
||||
python3 ../test/mqttsas.py &
|
||||
ctest -VV --timeout 600
|
||||
cpack --verbose
|
||||
kill %1
|
||||
|
|
|
|||
Loading…
Reference in New Issue