From 7ee60ef7ed67922f57c23b63ddd91dbeb4baee74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Fri, 19 Jun 2020 23:29:15 +0200 Subject: [PATCH] Fix .travis.yml --- .travis.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7076321..268a32c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,17 +27,6 @@ jobs: - stage: simulator env: - 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 install: - docker-compose -f docker/docker-compose.yml build @@ -45,6 +34,7 @@ jobs: before_script: - docker-compose -f docker/docker-compose.yml up -d script: - - ./docker/simulator/device_simulator.py -s 'mqtt1234' -d 5 & - 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/