mirror of
https://github.com/daniviga/bite.git
synced 2025-04-20 14:31:20 +02:00
Fix .travis.yml
This commit is contained in:
parent
df67c38905
commit
7ee60ef7ed
16
.travis.yml
16
.travis.yml
@ -27,17 +27,6 @@ jobs:
|
|||||||
- stage: simulator
|
- stage: simulator
|
||||||
env:
|
env:
|
||||||
- IOT_TL=http
|
- IOT_TL=http
|
||||||
install:
|
|
||||||
- docker-compose -f docker/docker-compose.yml build
|
|
||||||
# - docker-compose -f docker/docker-compose.yml pull
|
|
||||||
before_script:
|
|
||||||
- docker-compose -f docker/docker-compose.yml up -d
|
|
||||||
script:
|
|
||||||
- ./docker/simulator/device_simulator.py -s 'http1234' -d 5 &
|
|
||||||
- sleep 10
|
|
||||||
- curl -sf http://localhost/telemetry/http1234/last/
|
|
||||||
- stage: simulator
|
|
||||||
env:
|
|
||||||
- IOT_TL=mqtt
|
- IOT_TL=mqtt
|
||||||
install:
|
install:
|
||||||
- docker-compose -f docker/docker-compose.yml build
|
- docker-compose -f docker/docker-compose.yml build
|
||||||
@ -45,6 +34,7 @@ jobs:
|
|||||||
before_script:
|
before_script:
|
||||||
- docker-compose -f docker/docker-compose.yml up -d
|
- docker-compose -f docker/docker-compose.yml up -d
|
||||||
script:
|
script:
|
||||||
- ./docker/simulator/device_simulator.py -s 'mqtt1234' -d 5 &
|
|
||||||
- sleep 10
|
- sleep 10
|
||||||
- curl -sf http://localhost/telemetry/mqtt1234/last/
|
- IOT_DEBUG=1 ./docker/simulator/device_simulator.py -s 'simu1234' -d 5 &
|
||||||
|
- sleep 15
|
||||||
|
- curl -sf http://localhost/telemetry/simu1234/last/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user