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

Fix .travis.yml

This commit is contained in:
Daniele Viganò 2020-06-19 20:31:03 +02:00
parent cc2ee0404a
commit 17da3aa1dc
Signed by: dani
GPG Key ID: DB49AFC03C40EE02

View File

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