1
0
mirror of https://github.com/daniviga/bite.git synced 2025-04-18 22:00:11 +02:00

Add some warm up to Travis

This commit is contained in:
Daniele Viganò 2020-06-19 20:32:59 +02:00
parent 17da3aa1dc
commit 8ed0778f9f
Signed by: dani
GPG Key ID: DB49AFC03C40EE02

View File

@ -33,7 +33,8 @@ jobs:
- docker-compose -f docker/docker-compose.yml up -d
script:
- sleep 10
- ./simulator/device_simulator.py -t http -s 'http1234' &
- ./simulator/device_simulator.py -t http -s 'http1234' -d 5 &
- sleep 10
- curl http://localhost/telemetry/http1234/last/
- stage: simulator
env: MQTT
@ -44,5 +45,6 @@ jobs:
- docker-compose -f docker/docker-compose.yml up -d
script:
- sleep 10
- IOT_DEBUG=1 ./simulator/device_simulator.py -t mqtt -s 'mqtt1234' &
- IOT_DEBUG=1 ./simulator/device_simulator.py -t mqtt -s 'mqtt1234' -d 5&
- sleep 10
- curl -sf http://localhost/telemetry/mqtt1234/last/