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:
parent
17da3aa1dc
commit
8ed0778f9f
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user