-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
appveyor.yml
32 lines (19 loc) · 872 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: 1.1.{build}
image: Visual Studio 2015
configuration: Debug
build_script:
- cmd: >-
mkdir build.paho
cd build.paho
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
cmake -G "NMake Makefiles" -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
nmake
python --version
netsh advfirewall firewall add rule name="Python 2.7" dir=in action=allow program="C:\Python27\python.exe" enable=yes
netsh advfirewall firewall add rule name="Open Port 1883" dir=in action=allow protocol=TCP localport=1883
netsh advfirewall set allprofiles state off
start python.exe ..\test\mqttsas2.py mqtt.iotree.co.uk
ctest -T test -VV
cd ..
test:
assemblies: build/Testing/*/Test.xml