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
8ed0778f9f
commit
d4f7ea9357
@ -32,8 +32,7 @@ jobs:
|
||||
before_script:
|
||||
- docker-compose -f docker/docker-compose.yml up -d
|
||||
script:
|
||||
- sleep 10
|
||||
- ./simulator/device_simulator.py -t http -s 'http1234' -d 5 &
|
||||
- ./docker/simulator/device_simulator.py -t mqtt -s 'http1234' -d 5 &
|
||||
- sleep 10
|
||||
- curl http://localhost/telemetry/http1234/last/
|
||||
- stage: simulator
|
||||
@ -44,7 +43,6 @@ jobs:
|
||||
before_script:
|
||||
- docker-compose -f docker/docker-compose.yml up -d
|
||||
script:
|
||||
- sleep 10
|
||||
- IOT_DEBUG=1 ./simulator/device_simulator.py -t mqtt -s 'mqtt1234' -d 5&
|
||||
- ./docker/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