From 8ed0778f9f6baef57e3c41fbff7e6985d0baa04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Fri, 19 Jun 2020 20:32:59 +0200 Subject: [PATCH] Add some warm up to Travis --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d163591..f1d397b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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/